How to Optimize a .NET Application for Production

|
| By Neeraj Sharma

Performance issues in .NET applications rarely come from the framework itself. In most real-world cases, they originate from inefficient database usage, poor async handling, excessive memory allocation, or missing production tuning. Step 1: Measure First, Optimize Second Why This Matters

How to Convert XML to a dynamic object in C#

| By Webner

First of all how to parse a predefined XML structure to a class object in C# Sample XML: <User>      <Name>Joseph Lawrence</Name>      <Class>Second</Class>      <Section>B</Section>      <Roll_number>2735</Roll_number>      <Joining_Dt>20160323</Joining_Dt> </User> Above sample can be parsed by creating a class and setting each variable