Blog
Page 237 of my articles, tutorials, and thoughts
Latest Articles
How do I write unencoded Json to my View using Razor?
## How to Write Unencoded JSON to Your View using Razor So, you're trying to write an object as JSON to your Asp.Net MVC View using Razor, but the JSON is getting encoded in the output, causing issues for your browser. Don't worry, I've got you covered! ļæ½
How to convert View Model into JSON object in ASP.NET MVC?
# How to Convert View Model into JSON object in ASP.NET MVC? Are you new to .NET and struggling with converting a View Model into a JSON object in ASP.NET MVC? Don't worry, we've got you covered! In this blog post, we will address your common issues and p
How to get current user, and how to use User class in MVC5?
# š How to Get Current User and Use User Class in MVC5 So, you're working on an awesome MVC5 project, and you've stumbled upon a common issue: getting the id of the currently logged in user. š¤ Don't worry, we've got you covered! In this guide, we'll wal
Biggest advantage to using ASP.Net MVC vs web forms
# ASP.Net MVC vs Web Forms: Unraveling the Web Development Mystery! šš» So you're embarking on a web development adventure and faced with the age-old question: ASP.Net MVC or Web Forms? š® Fear not, my fellow developers! In this blog post, I will uncover
Unable to resolve service for type "Microsoft.AspNetCore.Identity.UserManager` while attempting to activate "AuthController"
# Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager` while attempting to activate 'AuthController' āš”š Hey there, tech enthusiasts! šš» Are you facing an "Unable to resolve service" error while trying to activate the 'AuthC
The type or namespace name "DbContext" could not be found
š Hey there, fellow techies! š„ļø So, you're new to ASP.NET MVC and you've encountered a build error in Visual Studio. Specifically, you're seeing the error message "The type or namespace name 'DbContext' could not be found." Not to worry, I'm here to hel
Do asynchronous operations in ASP.NET MVC use a thread from ThreadPool on .NET 4
# Asynchronous Operations in ASP.NET MVC: To Thread or Not to Thread? šš„ If you're an ASP.NET MVC developer, you must have come across the concept of asynchronous operations. It's often said that using async operations can make your application scale be
RedirectToAction between areas?
š Blog Post: The Secret of RedirectToAction between Areas šš Introduction: Hey tech enthusiasts! Welcome back to our blog where we untangle complex tech problems with ease. Today, we'll delve into the mystical world of RedirectToAction between Areas, a
How to configure the web.config to allow requests of any length
Title: š Configuring web.config: Handling Requests of Any Length Introduction: Hey there tech-savvy peeps! šļø In the world of web development, sometimes we encounter pesky errors that prevent us from achieving the desired functionality. Today, we'll be






