iis – How to Find App Pool Recycles in Event Log – Stack Overflow.
How to: View and Edit Code by Using Peek Definition (Alt+F12)
How to: View and Edit Code by Using Peek Definition (Alt+F12)
Visual Studio 2013
You can use the Peek Definition command to view and edit code without switching away from the code that you’re writing. Peek Definition and Go To Definition show the same information, but Peek Definition shows it in a pop-up window, and Go To Definition shows the code in a separate code window. Go To Definition causes your context (that is, the active code window, current line, and cursor position) to switch to the definition code window. By using Peek Definition, you can view and edit the definition and move around inside the definition file while keeping your place in the original code file.
via How to: View and Edit Code by Using Peek Definition (Alt+F12).
Show all tables where table name contains ‘log’
Select * From INFORMATION_SCHEMA.TABLES Where table_name LIKE '%log%' AND table_name NOT LIKE '%catalog%'
Show table columns with a specified name:
Use DatabaseName Select*From INFORMATION_SCHEMA.COLUMNS Where column_name ='ColName'
sql – I want to show all tables that have specified column name – Stack Overflow.
Design lessons for everyone, curated by top designers – Hack Design
Learn about design! Tip from co-worker.
david-tec.com | Quick introduction to Metaclass and MetaField mapping in EPiServer Commerce 7.5
Create metaclasses and metafields programatically in Commerce 7.5
An Overview of Project Katana : The Official Microsoft ASP.NET Site
The ASP.NET Framework has been around for over ten years, and the platform has enabled the development of countless Web sites and services. As Web application development strategies have evolved, the framework has been able to evolve in step with technologies like ASP.NET MVC and ASP.NET Web API. As Web application development takes its next evolutionary step into the world of cloud computing, project Katana provides the underlying set of components to ASP.NET applications, enabling them to be flexible, portable, lightweight, and provide better performance – put another way, project Katana cloud optimizes your ASP.NET applications.
via An Overview of Project Katana : The Official Microsoft ASP.NET Site.
Web Optimization Main checkpoints
Tools etc:
Google Pagespeed
YSlow (Fireox extension)
Akamai server (assets caching)
Gzip
Script ordering
Caching (general strategies)
CDN
Make a list:
Which points are most easy (and possible) to apply and makes the biggest impact?
Prioritize.
SteveX Compiled » String Formatting in C#
Thank you SteveX.
Fast and simple overview of string formatting in c#.
SteveX Compiled » String Formatting in C#.
Windows 8 – Run everything as Administrator
If you dont need Metro apps to work enter this into powershell:
Run PowerShell as Administrator and paste the following to disable UAC:
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Value "0"
shutdown -r -t 0
If you want metro apps to work: (this doesnt seem to work for me):
If you entered my registry change to disable UAC, re-enable it with the following command:
PowerShell as Administrator (This requires a restart)
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Value "1"
#Default value is 1
shutdown -r -t 0
To enable automatic silent UAC elevation for administrators without breaking the Microsoft Store you should do the following instead.
PowerShell as Administrator (This takes effect immediately)
#The following is equal to the Security Policy “User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode” = “Elevate without prompting”
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value "0"
#Default value is 2
#The following is equal to the Security Policy “User Account Control: Allow UIAccess applications to prompt for elevation without using the secure dekstop” = “Enabled”
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableUIADesktopToggle" -Value "1"
#Default value is 0
Episerver Commerce 1.1 Dev Guide – Shopping Cart
Key files and controls
Overview of cart object
Accessing/adding cart items
Workflows/How totals are calculated
Cart persistence
Wishlist
The workflow updates a number of properties of the Cart to indicate various totals. These properties allow you to easily display the price for a line item, the discount amount, and the after-discount-price. These include
Cart.SubTotal is the total for the cart, after discounts are applied.
LineItem.ListPrice is the price before discount
LineItem.ExtendedPrice is the price for a lineitem, given the quantity of the item and applicable discounts.
LineItem.LineItemDiscountAmount is the total amount of discount for a LineItem.