Video

What’s new in ASP.NET Core 2.0

Advertisements

.Net Core 2.0 Final Release

Microsoft has released the final version of .Net Core 2.0 yesterday and it is ready for production workloads. Along with this the following core frameworks are also announced on their general availability with their final releases.

ASP.NET Core 2.0

Entity Framework Core 2.0

.NET Standard 2.0

You can also watch the launch video on Channel 9 to see many of the new features in action.

To download the  .NET Core Framework, SDK and runtime visit here.

 

JetBrains Rider – .NET IDE from IDE experts

Rider

Jetbrains Rider is a full-fledged, cross-platform .NET IDE. Rider can open, manage, build and debug a wide variety of .NET Framework, Mono and .NET Core based solutions, and provides editing support for most languages used in .NET development: C#, VB.NET, ASP.NET syntax, XAML, XML, JavaScript, TypeScript, JSON, HTML, CSS, and SQL.

It comes with the following killer features and productivity tools built in:

  • Intelligent Code Editor
  • Killer Code Analysis
  • Decompiler
  • Refactoring*
  • Unit Testing
  • Debugging
  • Version Control (Git, Subversion, Mercurial, Perforce and TFS)
  • Database and SQL (with Syntax Highlighting, smart code completion, etc.)

* Most of ReSharper’s 50+ refactoring are already available in Rider, and its 350+ context actions are all there.

Commercial and personal pricing

Here’s a list of USD prices in different licensing scenarios. These are first-year subscription prices. As usual, continuous subscription discounts are available: in the second year of uninterrupted Rider subscription, you get 20% off, and then 40% off in the third year onward.

Commercial license /1st year Personal license /1st year
Rider $349 $139
Rider + ReSharper Ultimate $449 $179
All Products (includes Rider) $649 $249
Quote

Bootstrap 4 released!

Bootstrap is the world’s most popular framework for building responsive, mobile-first sites and applications. Inside you’ll find high quality HTML, CSS, and JavaScript to make starting any project easier than ever. Currently in alpha version, but you can try your hands as the source is available for you to download. Alternatively you can refer it from any CDN or download with your package manager.

bootstrap.PNG

Preventing multiple instance of an Application

Hi,

.Net framework’s System.Threading namespace provides Mutex class which is a synchronization primitive that can also be used for interprocess synchronization. Using this mutex object we can also control running of multiple instances of a same application. Here is the sample code to do that. The code should be wriiten on the starting point of the application obviously for a windows or console application it would be the Main() function.

static class Program
{
///<summary>
/// The main entry point for the application.
///</summary>
[STAThread]
static void Main()
{
bool instanceCountOne = false;
using (Mutex mtex = new Mutex(true, “MyRunningApp”, out instanceCountOne))
{
if (instanceCountOne)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
mtex.ReleaseMutex();
}
else
{
MessageBox.Show(“An application instance is already running”);
}
}
}
}

Note: Replace the application name with your corresponding application name. Include the namespace System.Threading.

Happy coding…

yenkay