Click here to Skip to main content
15,352,158 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCode is inserting only one row of records. Any ideas? Pin
samflex9-Oct-17 5:16
Membersamflex9-Oct-17 5:16 
AnswerRe: Code is inserting only one row of records. Any ideas? Pin
F-ES Sitecore11-Oct-17 0:54
professionalF-ES Sitecore11-Oct-17 0:54 
AnswerRe: Code is inserting only one row of records. Any ideas? Pin
ZurdoDev11-Oct-17 9:44
professionalZurdoDev11-Oct-17 9:44 
QuestionHave a form result invisible until submission? Pin
The Rarispy8-Oct-17 16:48
MemberThe Rarispy8-Oct-17 16:48 
AnswerRe: Have a form result invisible until submission? Pin
Richard Deeming9-Oct-17 8:42
mveRichard Deeming9-Oct-17 8:42 
QuestionChanging the text of a GridView buttonfield text dynamically Pin
Stephen Holdorf7-Oct-17 15:10
MemberStephen Holdorf7-Oct-17 15:10 
QuestionASP.Net Core and global.asax Pin
Mou_kol5-Oct-17 23:21
MemberMou_kol5-Oct-17 23:21 
AnswerRe: ASP.Net Core and global.asax Pin
Afzaal Ahmad Zeeshan11-Oct-17 12:31
mveAfzaal Ahmad Zeeshan11-Oct-17 12:31 
Typically you need to consider reading at why did Microsoft want to shift from a bloated global handler, to a microservice-like as-needed middleware structure for the startup handler. You can start here, ASP.NET Core Middleware | Microsoft Docs

Secondly, if you have used global.asax, you know that it is tightly packed with the services that ASP.NET provides, everything is already there, it doesn't matter whether you handle it or not. Almost everything is loaded, unless you ignore importing and loading the assembly. Whereas in the middleware, you load items and attach them to the application. You remove, or add how things go around. The best benefit being, you can rearrange them as needed and you can even add your own custom middleware before ASP.NET Core's middleware — which I am not sure was allowed in global.asax.

Finally, since the framework was written to be cross-platform and thus it had to be written in a way that it can reflect the design pattern for such projects.
Quote:
what kind of advantages is there in middleware ?

Also, the term middleware is just a term used for something can acts in the middle. It is nothing new, or special. It just means, that you can now shift the modules, include more, change the sequence, block a few modules to be loaded (on demand) and much more.

You should consider tweaking around a bit with the Startup class in ASP.NET Core.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

QuestionDesktop application "communicating" with ASP.NET Pin
The Junior4-Oct-17 23:02
MemberThe Junior4-Oct-17 23:02 
AnswerRe: Desktop application "communicating" with ASP.NET Pin
Atlapure Ambrish5-Oct-17 4:04
professionalAtlapure Ambrish5-Oct-17 4:04 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 4:24
MemberThe Junior5-Oct-17 4:24 
SuggestionRe: Desktop application "communicating" with ASP.NET Pin
Richard Deeming5-Oct-17 4:08
mveRichard Deeming5-Oct-17 4:08 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 4:21
MemberThe Junior5-Oct-17 4:21 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
David Mujica5-Oct-17 9:08
MemberDavid Mujica5-Oct-17 9:08 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 21:34
MemberThe Junior5-Oct-17 21:34 
QuestionProgramming Chat supports video and audio and the number of connected high Pin
Member 1343772929-Sep-17 12:07
professionalMember 1343772929-Sep-17 12:07 
AnswerRe: Programming Chat supports video and audio and the number of connected high Pin
ZurdoDev2-Oct-17 4:10
professionalZurdoDev2-Oct-17 4:10 
QuestionImplementation advice for quiz with 4 choice questions Pin
Farhad Eft28-Sep-17 10:09
MemberFarhad Eft28-Sep-17 10:09 
AnswerRe: Implementation advice for quiz with 4 choice questions Pin
Farhad Eft30-Sep-17 6:31
MemberFarhad Eft30-Sep-17 6:31 
QuestionASP.NET authorization Pin
SaeedPol27-Sep-17 8:30
MemberSaeedPol27-Sep-17 8:30 
AnswerRe: ASP.NET authorization Pin
The Junior5-Oct-17 4:34
MemberThe Junior5-Oct-17 4:34 
QuestionRepeater Template Desinging Pin
Member 1337195126-Sep-17 8:41
MemberMember 1337195126-Sep-17 8:41 
AnswerRe: Repeater Template Desinging Pin
A_Griffin26-Sep-17 9:26
MemberA_Griffin26-Sep-17 9:26 
GeneralRe: Repeater Template Desinging Pin
Member 1337195126-Sep-17 9:28
MemberMember 1337195126-Sep-17 9:28 
GeneralRe: Repeater Template Desinging Pin
A_Griffin26-Sep-17 9:33
MemberA_Griffin26-Sep-17 9:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.