Posts

Showing posts from January, 2017

TODAY WORLD HAS BEEN CHANGED FROM TOMORROW TECHNOLOGY

Image
TODAY WORLD HAS BEEN CHANGED FROM TOMORROW TECHNOLOGY Welcome to Visual Studio 2017 RC 16/11/2016   5 min to read   Contributors    Welcome to Visual Studio! We’ve got everything you need to create great apps for devices or desktop apps, for the web and in the cloud. Write code for iOS, Android, and Windows in one integrated development environment (IDE). Get great IntelliSense, easy code navigation, fast builds, and quick deployment. Visual Studio increases your productivity and makes it easy to do your work alone or as part of a larger team. Note Click here for release notes for  Visual Studio 2017 RC . Download  Visual Studio Community  for free to start coding right away. If you want to do cross-platform development, make sure that you install the optional packages. (You can get more features with  other editions of Visual Studio .) You can install Visual Studio 2017 RC by downloading it from  Visual St...

Difference between ASP.NET MVC and ASP.NET Web API

Image
Asp.Net Web API VS Asp.Net MVC Asp.Net MVC is used to create web applications that return's both views and data but Asp.Net Web API is used to create full blown HTTP services with easy and simple way that returns only data not view. Web API helps to build REST-ful services over the . NET Framework and it also support content-negotiation(it's about deciding the best response format data that could be acceptable by the client. it could be JSON,XML,ATOM or other formatted data),  self hosting which are not in MVC. Web API also takes care of returning data in particular format like JSON,XML or any other based upon the Accept header in the request and you don't worry about that. MVC only return data in JSON format using JsonResult. In Web API the request are mapped to the actions based on HTTP verbs but in MVC it is mapped to actions name. Asp.Net Web API is new framework and part of the core ASP.NET framework. The model binding, filters, routing and others MVC f...

Difference between string and String in C#

One of the questions that many novice C# programmers ask is: “What is the difference between string and String?” In C#,  string  is an alias for the  String  class in .NET framework. In fact, every C# type has an equivalent in .NET. As another example,  short  and  int  in C# map to  Int16  and  Int32   in .NET. So, technically there is no difference between string and String, but it is common practice to declare a variable using C# keywords. I’ve hardly seen anyone declaring an integer with  Int32 ! The only tiny difference is that if you use the  String  class, you need to import the  System  namespace on top of your file, whereas you don’t have to do this when using the  string  keyword. Many developers prefer to declare a string variable with  string  but use the  String  class when accessing one of its static members: 1 String.For...

Get System Mac Address(C# Console Application)

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.NetworkInformation; namespace Sysmacaddress {     class Program     {         static void Main(string[] args)         {             NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces();             var a = nics[0].GetPhysicalAddress().ToString();             Console.WriteLine("Your Sys Mac id"+a);             Console.ReadKey();         }     } }

Online Asp.net MVC virtual academy(Microsoft)

Image
https://mva.microsoft.com/en-US/training-courses/introduction-to-asp-net-mvc-8322?l=4fo2g9Zy_1404984382

What is Entity Framework

It's a very simple c#/vb code to link database into the class files.its also some dll file to link to execute.design data to interact with user data