What’s new in C#

 The C# language relies on types and methods in a standard library for some of the features. One example is exception processing. Every throw statement or expression is checked to ensure the object being thrown is derived from Exception. Similarly, every catch is checked to ensure that the type being caught is derived from Exception. Each version may add new requirements. To useContinue reading “What’s new in C#”

What is the difference between ASP.Net Core and ASP.Net?

What is ASP.NET Core ? ASP.NET Core is a new open-source and cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.ASP.NET Core is the open-source version of ASP.NET, that runs on Windows, Linux, macOS, and Docker. ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-based, Internet-connected applications. With ASP.NETContinue reading “What is the difference between ASP.Net Core and ASP.Net?”

ASP.NET MVC 4 Application using Web Deploy Azure

 Installing Visual Studio Express 2012 for Web You can install Microsoft Visual Studio Express 2012 for Web or another “Express” version using the Microsoft Web Platform Installer. The following instructions guide you through the steps required to install Visual studio Express 2012 for Web using Microsoft Web Platform Installer. Go to [https://go.microsoft.com/?linkid=9810169](https://go.microsoft.com/?linkid=9810169). Alternatively, if you already have installed Web Platform Installer,Continue reading “ASP.NET MVC 4 Application using Web Deploy Azure”

Build RESTful APIs with ASP.NET Web API

In recent years, it has become clear that HTTP is not just for serving up HTML pages. It is also a powerful platform for building Web APIs, using a handful of verbs (GET, POST, and so forth) plus a few simple concepts such as URIs and headers. ASP.NET Web API is a set of components that simplify HTTPContinue reading “Build RESTful APIs with ASP.NET Web API”

What’s new in C# 6 ?

C# 6 Thew C# 6 features we will create a new Console application in Visual Studio. New -> New Console project. Right click on the project in Solution Explorer and then set the language options Properties -> Build -> Advanced -> Language version -> C#6  using static keyword. Using this feature means that you can do awayContinue reading “What’s new in C# 6 ?”

How to read System Date dynamically from windows registry file in C# ?

Get System Date and Time from windows registry         C# sample Code  to get date format      public static string GetSystemDateFormat()        {            RegistryKey rkey = Registry.CurrentUser.OpenSubKey(@”Control Panel\International”, true);            if (rkey != null)            {   Continue reading “How to read System Date dynamically from windows registry file in C# ?”

How to get comma separated words with single quote in C#?

LINQ  Get comma separated words with single quote in C# First parameter itemCollection is input  |   Hello+we+are+here  Second parameter separator is char      |    ‘+‘         C# sample Code          public static string GetResults(string itemCollection,char separator)         {            Continue reading “How to get comma separated words with single quote in C#?”

There are still remote logins or linked logins for the server ‘linkedservername’

There are still remote logins or linked logins for the server ‘Linked server name’ Steps by Step   Open SQL Server Management Studio, Run (press F5) this query  SELECT * FROM sys.servers  Query returns all the linked servers created  Run ( press F5)  exec sp_dropserver ‘XXXX’    Replace XXXX with your linked server name  which is  the second column value of your step 1Continue reading “There are still remote logins or linked logins for the server ‘linkedservername’”

LINQ – Data source Group By Sum

 LINQ            DataTable table = new DataTable();            table.Columns.Add(“ID”, typeof(int));            table.Columns.Add(“Percentage”, typeof(int));            table.Rows.Add(1, 50);            table.Rows.Add(1, 30);            table.Rows.Add(2, 0);            table.Rows.Add(2, 100);     Continue reading “LINQ – Data source Group By Sum”

Design a site like this with WordPress.com
Get started