Posts

Showing posts from July, 2023

Creating New List From Existing List in Linq C# | Compare 2 Linq Lists and Get Which Items not exist in Previous List c#

//1.Creating New List From Existing   List<City> LstCityUpdate = db.Cities.Select(a => new City()                 {                     CityID = a.CityID,                     CityName = a.CityName,                     IsActive = true                 }).ToList();                  //2.Compare 2 Linq Lists and Get Which Items not exist in Previous List                  List<City> Lst = LstCity .Where(s => ! LstCityUpdate .Where(es => es.CityID == s.CityID ).Any()).ToList();

Securing ASP.NET Web Applications | Website

  Introduction Web application security is not just about attackers hacking websites, stealing sensitive information from websites, sending high traffic to websites with denial of service attacks, viruses, worms and Trojan horses. Are these are the only problems that we have? The answer is no. There are other problems that are frequently overlooked. The objective of this article is to give you an insight on various areas that a design architect should focus on while designing a web application to make more secured. This article discusses almost all types of vulnerability that can be exploited by the hacker and the counter measure to avoid the same. Effective way of analyzing the various security issues on a web application by decomposing the problem domain into various areas of focus. I have discussed the same in detail below. If you follow this approach, you get your focus on the key design and implementation choices that affect your application's security. Input validation Identi...