We all become lazy sometimes when we get long emails. But at the same time we had to listen to them as the mail contains important information. If I tell about myself, then I grasp fast if someone speaks to me instead of reading something which is very long. And after talking with different people … Continue reading Text to speech utility
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
Please note that below post would be more clear for those who already know what Dependency injection is. As we all know that things has been little changed in .Net core and things has also been changed the way we suppose to register all of our services that we are going to use as DI. … Continue reading Dependency Injection in MVC 1.0(ASP.NET Core)
I have recently wrote code for WebCrawler in C#. You can find code here at Github. This is basically used to crawl on start and it would stop once it is stopped. Please go through readme section for more details Let me know for more details. Happy coding!
There are many ways to upload files in MVC 6. Below code is the simplest way I found till now, If I get any other simpler method then I will update this code. view (cshtml) : <form method="post" asp-action="Upload" asp-controller="Home" enctype="multipart/form-data"> <input type="file" name="file" /> <input type="submit" value="upload"/> </form> controller (cs) : [HttpPost] public IActionResult … Continue reading Upload file in MVC 6 (ASP.NET Core 1.0)
The WordPress.com stats helper monkeys prepared a 2015 annual report for this blog. Here's an excerpt: A New York City subway train holds 1,200 people. This blog was viewed about 7,000 times in 2015. If it were a NYC subway train, it would take about 6 trips to carry that many people. Click here to … Continue reading 2015 in review
As you might already know that things has been bit changed for reading appSettings in MVC 6 and Asp.Net 5. We will go step by step how to achieve this. First of all as we were used to add Application settings in Web.config till now. But now onwards we need to add these key value … Continue reading Getting a Configuration Value in ASP.NET 5 (vNext) and MVC 6