
Image from Pexels
Tagged articles - XML
Found 11 articles tagged with XML
24
Jun
2018
Loading RSA key pair from PEM files in .NET Core with C#
.NET229 titlesBouncyCastle 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
10
Jun
2018
How to boost application performance by choosing the right serialization
.NET229 titlesImproving 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
03
Mar
2018
Switch from HTTP to HTTPS in existing ASP.NET web application
.NET229 titlesSwitch 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
28
Apr
2016
Create XML/HTML with T-SQL
SQL/T-SQL10 titlesGenerating 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
18
Apr
2015
Generate sitemap.xml on the fly in Umbraco CMS
Umbraco CMS25 titlesSimple 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
22
Jan
2015
Custom configuration section with intelisense
.NET229 titlesSetup 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...read more
04
Dec
2014
The X-Frame-Options response header
.NET229 titlesRestricting 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
19
Nov
2014
Generating HTML structure string in C#
.NET229 titlesClean 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
16
Aug
2014
Dictionary lists in Umbraco
Umbraco CMS25 titlesOut 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
12
Jun
2014
Different data type in Web API response of the same method
.NET229 titlesBoth 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...read more
10
Jun
2014
Aggregating RSS feeds from Umbraco content
Umbraco CMS25 titlesServing Umbraco website content in RSS format
0
RSS stands for Really Simple Syndication. It's an easy way for you to keep up with news and information that's important to you, and helps you avoid the conventional methods of browsing or searching for information on websites.
Umbraco stores it's published content in XML format, so exposing website data is really easy...read more
.NET
5
Jun
2022
Using dotnet nuget package vulnerability scan in Azure DevOps build
Listing nuget vulnerabilities and controlling build in Azure DevOps
5
May
2022
Protecting static files in ASP.NET Core using custom middleware
Restricting access to specific static content with middleware in ASP.NET Core
20
Dec
2021
Supporting multiple authentication schemes in asp.net core webapi
Using more than one authentication schemes in webapi projects
12
Dec
2021
Controlling the flow of migrations in EF Core
Altering EF Core migrations execution order
28
Nov
2021
Unit of work pattern with Dapper
Implementing unit of work pattern with Dapper in .NET 5
21
Sep
2021
Adding display name to Enum values
Implementing additional values for Enum items in C#
JavaScript
28
Oct
2018
HTML5 localStorage with expiry with vanilla JavaScript
Using HTML5 localStorage with expiry
8
May
2018
Monitoring DOM changes with JavaScript
Handling DOM changes with plain JavaScript
9
May
2017
Non blocking CSS load on the page
Load external CSS files in an async manner
16
Mar
2017
Serialize html form to JSON without using JQuery
Transform user input from HTML form fields to JSON
17
Jan
2016
Copy text value to clipboard using jQuery
Simple sample of using jQuery to copy value to clipboard
11
Jan
2016
Resize image on the client side with JQuery
Reducing the upload sie by resizing image on the client side
SQL/T-SQL
22
Feb
2022
Select column names with values from SQL Server database
Fetching column names with its value in T-SQL using built in JSON methods
23
May
2020
Identifying opened connections for the specific application in SQL Server
Connection listing queries in SQL Server
3
May
2018
Reading JSON data in T-SQL on SQL Server
Extracting values from JSON string on SQL Server using T-SQL
28
Apr
2016
Create XML/HTML with T-SQL
Generating XML/HTML output in SQL Server
24
Nov
2015
IP address to octets split in TSQL
Split IP addresse into octets in SQL Server
20
Jul
2015
Getting first and last second of the current year, month and day
Using minimum and maximum date time in SQL query
Umbraco CMS
2
Mar
2018
Minify HTML output of your pages
Minification of HTML output using ASP.NET IHttpModule
18
Apr
2015
Generate sitemap.xml on the fly in Umbraco CMS
Simple sitemap.xml Umbraco handler
2
Mar
2015
Accessing UmbracoHelper in HttpHandler request
Working with UmbracoHelper and IPublishedContent in HttpHandler
14
Sep
2014
Same page language switching in Umbraco
Land on the same page in different language in Umbraco using Relations
4
Sep
2014
Getting cropped image the smart way
The way to get cropped image URL with option to load original image too
27
Aug
2014
Fastest way to return JSON result from a controller
Resturn JSON in MVC controller action