Tagged articles - XML

Found 11 articles tagged with XML

Loading RSA key pair from PEM files in .NET Core with C#
BouncyCastle wrapper for loading RSA keys from PEM files instead of XML files
0
Recently I wrote and article about using asymmetric keys for token based authentication in ASP.NET Core. As I was setting up the RSA keys to test the demo appliation I kept running to some challanges that did not make thigs going so smooth Challenge number 1 - OpenSSL ... read more
How to boost application performance by choosing the right serialization
Improving performance of .NET application with different serialization formats
0
Pretty much any serious application now days needs to interact with any storage media such as disk or network. This is where serialization comes in... read more
Switch from HTTP to HTTPS in existing ASP.NET web application
Switch complete traffic from unsecured to secured with web.config update
0
Starting from few years ago, Google enforces secured over unsecured website traffic. However it is an ongoing process since both publishers and advertisers need to implement HTTPS in order to avoid mixed contnet exception in a browser and preventing ads to load on a website. ... read more
Create XML/HTML with T-SQL
Generating XML/HTML output in SQL Server
0
Sending email from SQL is not a difficult to achieve, but generating rich HTML content might be. SQL Server itself is not built as a text processor, first approach would be to build HTML by simple concatenating the string elements. This approach will work, but over time it will become more and more difficult to maintain especially if you need to add layout elements over time. ... read more
Generate sitemap.xml on the fly in Umbraco CMS
Simple sitemap.xml Umbraco handler
0
Sitemap.xml is important component of SEO which is responsible for indexing your website. Search engine robots are generating indexes of your website based on this file. Since content in Umbraco website is dynamic, it makes not so much sence to have static sitemap.xml file for indexing your content... read more
Custom configuration section with intelisense
Setup intelisense for custom configuration sections in app.config
 
0
Config files are really useful and allow you to store some setting values without having to hard-code them. It provides out of the box configuration utility which is very flexible, but because of its flexibility, it has some drawbacks as well. For you application you can easily create your own, nonstandard elements and easily bind them to your strongly typed model in order to read values... read more
The X-Frame-Options response header
Restricting your page being used in IFrames (click jacking)
0
I found this header option repeating in many guidelines for securing the web application. By adding these headers to response, it restricts browser to load your page into an iFrame tag. ... read more
Generating HTML structure string in C#
Clean and proper way to generate html string in C#
0
String hardcoding it the worst way to generate your HTML. It makes code non-maintainable and hard to read. Lately in June I wrote an article how to generate HTML string without hard coding the string and using concatenation or string format... read more
Dictionary lists in Umbraco
Out of the box solution for Dictionary lists in Umbraco
0
Umbraco implementation of localized values is based on Dictionary which is in settings section of Umbraco back-end. This works pretty fine in case you need to display only string values but does not work localized lists. For example you might want to have country list for your contact form on your website... read more
Different data type in Web API response of the same method
Both XML and JSON in return result of Web API REST service method
 
0
Web API restful services are very flexible and they return different data format (JSON or XML) depending on accept type header value from your browser (or other client). However this is not always so precise so sometime you have to force return type. More on how to force return type on API method side itself you can find in this article... read more

.NET

read more

JavaScript

read more

SQL/T-SQL

read more

Umbraco CMS

read more