Skip to main content

Posts

Showing posts from September, 2019

ASP NET CORE Facts

 It has an internal web server called Kestral that runs in coordination(collaboration) with the external webserver (assume IIS). The IIS invokes the .net runtime which looks for the main method in the application and executes it. This starts Kestral.  https://app.pluralsight.com/player?course=understanding-aspdotnet-core-2x&author=roland-guijt&name=1e5802e8-d4b6-4784-a8f6-93d1739c88ba&clip=9&mode=live Most versions of classic ASP. NET relied on an assembly in a. NET Framework called System. Web, which was tied to IIS. It is not suitable anymore for today's standards. It is around since classic ASP. NET version 1, and as ASP. NET progressed, stuffed with code to support all kinds of new features. Processing a request using System. Web isn't very efficient anymore for that reason in terms of memory usage and performance. Using the pipeline, youonly plug in what you need, and everything you plug in is in separate assemblies exposed in NuGet. System...

LINQ queries

string[] arr= new string[]{"Anish","Jeeba","Jiya"}; IEnumerable<string> obj= (from item in arr select $"{item} is my name").ToList(); using let  var result = from a in arr let name = a . StartsWith ( 'a' ) where name select a ; let acts as a temporary storage. List < List < SampleList >> sam = new List < List < SampleList >>{ new List < SampleList > { new List<SampleList> { new SampleList{Name="Anish", number=31, Gender="M"}, new SampleList{Name="Anish", number=61, Gender="M"} }, new List<SampleList> { new SampleList{Name="Jeeba", number=12, Gender="F"}, new SampleList{Name="Jiya", number=44, Gender="F"} }, new List<SampleList> ...