DORSETRIGS
Home

asp.net-core-mvc (109 post)


posts by category not found!

How to run stored procedures in Entity Framework Core?

Executing Stored Procedures with Entity Framework Core A Simplified Guide Entity Framework Core EF Core is a popular object relational mapper ORM for NET applic

3 min read 07-10-2024 31
How to run stored procedures in Entity Framework Core?
How to run stored procedures in Entity Framework Core?

Resolving instances with ASP.NET Core DI from within ConfigureServices

Resolving Instances with ASP NET Core DI from within Configure Services Problem You re working with ASP NET Cores Dependency Injection DI system and need to acc

2 min read 07-10-2024 30
Resolving instances with ASP.NET Core DI from within ConfigureServices
Resolving instances with ASP.NET Core DI from within ConfigureServices

How can I check for a response cookie in Asp.net Core MVC (aka Asp.Net 5 RC1)?

Checking for Response Cookies in ASP NET Core MVC Understanding how to manage cookies in ASP NET Core MVC is crucial for implementing secure and personalized we

2 min read 07-10-2024 28
How can I check for a response cookie in Asp.net Core MVC (aka Asp.Net 5 RC1)?
How can I check for a response cookie in Asp.net Core MVC (aka Asp.Net 5 RC1)?

Increase upload file size in Asp.Net core

Boosting File Upload Limits in ASP NET Core A Comprehensive Guide Uploading large files in web applications is a common requirement ASP NET Core by default sets

3 min read 07-10-2024 36
Increase upload file size in Asp.Net core
Increase upload file size in Asp.Net core

Can I generate script of a migration with EF code first and .net core

Generating Migration Scripts with Entity Framework Core in NET Many developers using Entity Framework Core EF Core for database management find themselves needi

2 min read 07-10-2024 25
Can I generate script of a migration with EF code first and .net core
Can I generate script of a migration with EF code first and .net core

Register Service at Runtime via DI?

Registering Services at Runtime with Dependency Injection A Dynamic Approach Dependency Injection DI is a powerful technique for decoupling code and making it m

2 min read 07-10-2024 31
Register Service at Runtime via DI?
Register Service at Runtime via DI?

Custom redirect from AuthorizationHandler (ASP.NET Core)

Custom Redirects in ASP NET Core Authorization Taking Control of Your Authentication Flow In ASP NET Core the Authorization Handler class provides a powerful me

2 min read 07-10-2024 57
Custom redirect from AuthorizationHandler (ASP.NET Core)
Custom redirect from AuthorizationHandler (ASP.NET Core)

AspNetCore 2.0 MVC / 'model' must appear at the start line

model Must Appear at the Start Line A Common ASP NET Core 2 0 MVC Error and Its Solution Have you ever encountered the cryptic error message model must appear a

2 min read 06-10-2024 47
AspNetCore 2.0 MVC / 'model' must appear at the start line
AspNetCore 2.0 MVC / 'model' must appear at the start line

When using services.AddHttpClient, where is the HttpClient created?

Understanding Http Client Creation with services Add Http Client In ASP NET Core when you use services Add Http Client in your Configure Services method you re

2 min read 06-10-2024 58
When using services.AddHttpClient, where is the HttpClient created?
When using services.AddHttpClient, where is the HttpClient created?

Porting a Windows Service to .NET core

Transitioning Your Windows Service to the Power of NET Core The world of software development is constantly evolving and NET Core has emerged as a powerful cros

3 min read 06-10-2024 47
Porting a Windows Service to .NET core
Porting a Windows Service to .NET core

How to set breakpoint on [Authorize] Attribute

Debugging Authorization in ASP NET Core Setting Breakpoints on the Authorize Attribute Problem You re working on a web application built with ASP NET Core and n

2 min read 06-10-2024 55
How to set breakpoint on [Authorize] Attribute
How to set breakpoint on [Authorize] Attribute

Can WebOptimizer pipeline be created in a separate file?

Can Web Optimizer Pipelines Be Created in Separate Files Web Optimizer is a powerful tool for optimizing your websites performance It offers a pipeline approach

2 min read 04-10-2024 38
Can WebOptimizer pipeline be created in a separate file?
Can WebOptimizer pipeline be created in a separate file?

IIS rewrite allows unwanted redirects from URL parameter

IIS Rewrite A Hidden Vulnerability in URL Parameters Scenario Imagine you ve carefully crafted your websites URL structure with clear SEO friendly paths You ve

2 min read 04-10-2024 48
IIS rewrite allows unwanted redirects from URL parameter
IIS rewrite allows unwanted redirects from URL parameter

Can't get the Previous URL when accessing unautorized page

How to Retrieve the Previous URL When Accessing an Unauthorized Page In the world of web development maintaining seamless navigation and user experience is esse

2 min read 30-09-2024 40
Can't get the Previous URL when accessing unautorized page
Can't get the Previous URL when accessing unautorized page

ASP.NET Core 8.0 MVC : best practice for dynamically created controls from SQL

ASP NET Core 8 0 MVC Best Practices for Dynamically Created Controls from SQL Creating dynamic controls in an ASP NET Core 8 0 MVC application can significantly

3 min read 30-09-2024 44
ASP.NET Core 8.0 MVC : best practice for dynamically created controls from SQL
ASP.NET Core 8.0 MVC : best practice for dynamically created controls from SQL

C# .NET ApiController NoContent 204 response cannot map to ProblemDetails response body

Understanding the C NET Api Controller No Content 204 Response and Problem Details Mapping In C NET when working with web APIs you may encounter situations wher

2 min read 30-09-2024 44
C# .NET ApiController NoContent 204 response cannot map to ProblemDetails response body
C# .NET ApiController NoContent 204 response cannot map to ProblemDetails response body

Why do we have to use "~/" at the beginning of our file path extensions?

Understanding the Significance of Using in File Path Extensions When working with file systems especially in Unix like operating systems such as Linux and mac O

2 min read 29-09-2024 40
Why do we have to use "~/" at the beginning of our file path extensions?
Why do we have to use "~/" at the beginning of our file path extensions?

Image Sorting (Drag & Drop) from the collection - ASP.NET Core MVC

Image Sorting Drag and Drop Using ASP NET Core MVC Sorting images visually through a drag and drop interface can enhance user experience significantly In this a

3 min read 29-09-2024 53
Image Sorting (Drag & Drop) from the collection - ASP.NET Core MVC
Image Sorting (Drag & Drop) from the collection - ASP.NET Core MVC

Entity Framework Core : can't find table in Sqlite database

Troubleshooting Entity Framework Core Unable to Locate Tables in SQ Lite Database Entity Framework Core EF Core is a powerful Object Relational Mapper ORM for N

3 min read 28-09-2024 51
Entity Framework Core : can't find table in Sqlite database
Entity Framework Core : can't find table in Sqlite database

ASP.NET Core access underlying model in Editor Template

Accessing the Underlying Model in ASP NET Core Editor Templates In ASP NET Core editor templates are a powerful feature that allows developers to create reusabl

3 min read 25-09-2024 55
ASP.NET Core access underlying model in Editor Template
ASP.NET Core access underlying model in Editor Template

Is it possible to create dynamic ASP.NET Core Razor view and controller file during runtime?

Creating Dynamic ASP NET Core Razor Views and Controllers at Runtime ASP NET Core is a versatile web framework that allows developers to build modern web applic

3 min read 24-09-2024 66
Is it possible to create dynamic ASP.NET Core Razor view and controller file during runtime?
Is it possible to create dynamic ASP.NET Core Razor view and controller file during runtime?

Dropdown is not working using ASP.NET Core MVC

Troubleshooting Non Functional Dropdowns in ASP NET Core MVC Dropdown menus are a staple in web applications providing users with a straightforward way to selec

3 min read 24-09-2024 57
Dropdown is not working using ASP.NET Core MVC
Dropdown is not working using ASP.NET Core MVC

selenium chrome driver not working on IIS

Troubleshooting Selenium Chrome Driver Issues on IIS When working with Selenium and the Chrome Driver developers may encounter issues particularly when running

3 min read 23-09-2024 47
selenium chrome driver not working on IIS
selenium chrome driver not working on IIS

ASP.NET Core MVC web app : antiforgery tokens

Understanding Anti Forgery Tokens in ASP NET Core MVC Web Apps In todays digital landscape security remains a top priority for developers especially when it com

3 min read 22-09-2024 62
ASP.NET Core MVC web app : antiforgery tokens
ASP.NET Core MVC web app : antiforgery tokens

The session cookie cannot be unprotected when ASP.NET Core 8.0 Web App runs on IIS

Understanding the Session Cookie Security Issue in ASP NET Core 8 0 Web Apps Running on IIS When deploying an ASP NET Core 8 0 web application on Internet Infor

3 min read 21-09-2024 51
The session cookie cannot be unprotected when ASP.NET Core 8.0 Web App runs on IIS
The session cookie cannot be unprotected when ASP.NET Core 8.0 Web App runs on IIS