You can find my all .Net core posts here. In this post, we will see the features of Asp .Net Core 2.1 SignalR SignalR is coming into the .Net Core. I have already written a post on how to use SignalR in Net Core which is here but as some of the changes are going on … Continue reading ASP .Net Core 2.1 features: Part I
Category: MVC 6
Query string in .Net core and MVC 6
As you all know that from MVC6 we are seeing some changes in our regular coding techniques. We were using below lines in MVC5 for getting values from query string: var myQueryString = Request.QueryString[“myQueryString”] But in MVC6, above lines will throw errors in your code. So, you might be wondering how can we achieve this … Continue reading Query string in .Net core and MVC 6
MVC6 (.Net core) applications are self hosted : Optional IIS integration
All ASP.NET Core applications are self-hosted. Yes you read it right! So does it mean IIS is not required? Yes, I mean we can host MVC6 application even without IIS. Wow...but How? I assume you have already downloaded .Net core from here. Next step would be to create sample MVC6 project. For now you can … Continue reading MVC6 (.Net core) applications are self hosted : Optional IIS integration
JSON with camel case in MVC
Yes, the wait is over. I have heard it manytimes why MVC does not support Camel Case serialization. As workaround people used to use ServiceStack or Json.NET. But as per recent announcement, MVC 1.0.0 now serializes JSON with camel case names by default. How? Before it was something like below: public class Person { public int Id { … Continue reading JSON with camel case in MVC