Parsed Character Data,PCDATA in XML: XML parsers are used to parse XML files. All parsers normally also parse the data inside the XML tag elements when the entire XML file is parsed.This parsing is needed since an XML tag element can contain other element tags also. So PCDATA, the Parsed Character Data is nothing special. […]
Encrypt ConnectionString in Web.config of ASP.NET
Normal practice is to store connection string(database, excel, etc.) of any web application in web.config file. But on security point of view placing the database connection string or any of that sort in a web.config file without encryption is not secure at all. So it is mandatory to protect the configurations like connection strings etc. […]
Redirect domain Without www to With www in ASP.NET, BlogEngine.NET
It is possible to access https://www.dotnetstuffs.com, and http://dotnetstuffs.com from the server after we host the domain. The search engines consider it as 2 different sites. From an SEO standpoint, this will be considered duplicate content on the web, and search engines will penalize it. For quite some time, in my blog, there was the issue […]
Microsoft .NET 5.0 | Unified Platform .NET 5.0
The next version of.NET, .NET 5.0, was published by Microsoft. in Nov, 2020 and the latest updated version is 5.0.17. DOTNET 5 will be such a unified platform that you will be able to create anything on it. Build, run, and deploy software that targets all platforms and devices, including PCs, web browsers, smartphones, tablets, […]
Properties With Multiple Access Modifiers in C# 2.0 | Asymmetric Accessor Accessibility
In C# the member variables will be exposed by means of Properties. The get and set portions of a property are called accessors. A normal property definition in C# is as below privateintproperty1; publicintProperty1 { get { returnproperty1; } set { property1 = value; } } Here the property is public and by default, the accessors […]