Tagged articles - CSS
Found 8 articles tagged with CSS
04
Mar
2018
Minify CSS and JavaScript files with PowerShell script
PowerShell19 titlesJavaScript and CSS file optimization with PowerShell script
0
Minification of Cascade Style Sheet (CSS) and Java Script (JS) should be on a TODO list for every web application. The minification of CSS and JS can be easily one on the runtime with ASP.NET bundling which is build in in ASP.NET framework, but in case of distributing your resource files over CDN you cannot use the runtime minification. You physical files need to be minified...read more
09
May
2017
Non blocking CSS load on the page
JavaScript31 titlesLoad external CSS files in an async manner
0
Like JavaScript, CSS files are also loaded on the page by default in a blocking manner. Luckily for us, for JavaScript we can use either async or defer attributes on the script tag itself to change the behavior of JavaScript external file loading.
There is a different between these two attributes, but this is not the subject of this article.
...read more
26
Apr
2017
Inline JavaScript and CSS tags with ASP.NET MVC
.NET200 titlesRendering inline JavaScript and CSS tags in document in MVC
0
With ASP.NET MVC Microsoft introduced bundling of JavaScript and CSS resources. These bundles work pretty well but to me it always looks not so natural to define bundles in BundleConfig.css and I had problems if I want to edit CSS or JavaScript during runtime because they are cached.
One more thing I was struggling with is injecting the script inside the document instead of referencing the script or css from an external file.
...read more
14
Oct
2015
Reduce the number of request from the page by using base64 in CSS
JavaScript31 titlesEmbedding images in CSS as base64 strings
0
One of the major things that affects your page performance is the number of requests made from your page. Any external resource included on the page page makes your page loads slower.
Most commonly these are images...read more
02
Jun
2015
Disabling browser UI effects from CSS
JavaScript31 titlesRemoving browser added effects on the form elements in HTML
0
New version of browsers are bringing a lots of useful features, but among them there are some features that can actually ruin your UI concept. The following are just some of the most common ones and instructions how to disable them.
Disable textarea rezise
...read more
19
Mar
2015
Styles and images in app_offline.htm file
.NET200 titlesDisplay elegant maintenance page while you are upgrading your website
0
From time to time we all need to do some maintenance to our websites. ASP.NET has nice integrated feature to put your website online while you are updating files and libraries...read more
30
Dec
2014
Facebook Album Browser JQuery Plugin
JavaScript31 titlesSimple Facebook public albums browser plugin for JQuery
0
Reponsive jQuery plugin for browsing public albums of a Facebook account. Plugin is suitable for both desktop and mobile websites....read more
02
Dec
2014
CSS Media Queries instead of JavaScript code
JavaScript31 titlesUsing CSS Media Queries instead of JavaScript or JQuery code
0
Before CSS3 coming out, if you needed to change the layout programatically when window size is changed you would have to write a small JavaScript or JQuery to handle window resize event and perform some action on the DOM to addapt your layout.
In case you would use JQuery (which is most of the cases as I do not remember last time I wrotw plain JavaScript code) you would have to hook to window resize event and handle every resize. Based on your condition you would apply some CSS to specific element or strip style from it.
...read more
.NET
28
Nov
2019
Using options pattern in MVC5 legacy applications with web.config
Simple implementation of options pattern in .NET Framework 4.x legacy applications
26
Oct
2019
Ignoring properties from controller action model in Swagger using JsonIgnore
Excluding properties from Swagger in controller action input model using Newtonsoft.Json package
15
Oct
2019
Increase service resilience using Polly and retry pattern in ASP.NET Core
Retry pattern in ASP.NET Core with Polly
1
Oct
2019
Strongly typed configuration sections with options pattern in ASP.NET Core
Loading configuration values directly to classes and use them in the runtime
10
Sep
2019
Unit testing repositories in ASP.NET Core with xUnit and Moq
Mocking UserManager RoleManager and DbContext in unit tests in .NET Core
4
Sep
2019
Mixed model binding in ASP.NET Core using custom model binders
IModelBinder interface implementations usage for multiple source model binding
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
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
13
Apr
2015
Dealing with duplicate rows in SQL Server
Finding and cleaning up duplicate rows in SQL Server tables
12
Mar
2015
Reducing the number of Stored Procedures for the Application
Approach to reduce number of stored procedure for the application
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