Microsoft had launched Visual Studio 2015 Preview. Let try to know what's new in this release and point you more details. One of the other large announcements today is that we will open source the full server-side .NET core stack from ASP.NET 5 to the CLR and BCL and this version will run on Linux and MacOS X as well as Windows.
Since the majority of initial comments tend to be questions about supported configurations, I’ll put this up front: before you try to upgrade from Visual Studio "14" CTPs to Visual Studio 2015 Ultimate Preview, first uninstall Visual Studio "14" CTP – if you don’t, your system can wind up in an unstable state.
Microsoft has announced to launch ASP.NET vNext, which includes MVC, Web API, and Web Pages frameworks will be merged into one framework, called MVC 6. This new framework removes a lot of overlap between the existing MVC and Web API frameworks. It uses a common set of abstractions for routing, action selection, filters, model binding, and so on. You can use the framework to create both UI (HTML) and web APIs.
ASP.NET Web API is a framework that allows us to build HTTP services that reach a broad range of clients, including browsers, mobile devices, and tablets. For creating RESTFul applications, ASP.NET Web API is an ideal platform on the .NET Framework. As it contains ASP.NET MVC features such as routing, controller, action results, filter, model binding, thus it is very easy to create application for ASP.NET WEB API. Here, one thing we should keep in mind that Asp.Net Web API is not a part of ASP.NET MVC. ASP.NET Web API is a part of code ASP.NET platform and it can be used with ASP.NET MVC or any other types of application or it can be a standalone service application.Continue Reading>>
Anonymous methods behave like regular methods except that they are unnamed. Anonymous Methods were introduced as an alternative to defining delegates that did very simple tasks, where full-blown methods amounted to more than just extra typing. Anonymous methods also evolved further into Lambda Expressions, which are even shorter methods. Continue Reading>>
Anonymous types use the keyword var. Var is also used in Pascal and Delphi today, but var in Delphi is like ByRef in Visual Basic (VB) or ref in C#. The var introduced with .NET 3.5 indicates an anonymous type. Now, our VB friends are going to think, “Well, we have had variants for years in VB.” But var is not a dumbing down and clogging up of C#. Anonymous types are something new and necessary.
The simple meaning of Anonymous is that you don’t specify the type. You write var and C# figures out what type is defined by the right side, and C# emits (writes the code), indicating the type. From that point on, the type is strongly defined, checked by the compiler (not at runtime), and exists as a complete type in your code. There is one point to remember, you didn’t write the type definition; C# did.Continue Reading>>
MVC is acronym of Model – View – Controller, is a software design pattern, which divide software application in to three major interconnected parts.
- Model- It is a class which is used to show or update view by using business logic. It is also used to validate user input. e.g. Employee, Student, etc.
- View – It is responsible to interact with users, it is the component that display the application to users. E.g. Textbox, Checkbox, etc.
- Controller- It is responsible to accept the request from the view, works with the model and select the view to render to display the User Interface (UI).Continue Reading>>