Category: Code

Music chunk Piotr Łuksza 0

Music Chunk December 2015

Depeche Mode – Never Let Me Down Again The XX Intro Pride – Syntax U.D.O. – I Give As Good As I Get The Sisters of Mercy – Lucretia My Reflection Slash ft. Myles Kennedy – Sweet Child O’ Mine...

AngularJs Pros And Cons 0

AngularJS 1.3 Pros and Cons [PL]

Few weeks ago I had a pleasure writing my personal thoughts about my recent work with AngularJs on Sii Blog. Full article is avaliable here AngularJS 1.X – Zalety i wady .

PostSharp AssemblyLoadException - Piotr Łuksza 0

Sql Server Reset Table Identity Value

If you want to reset identity value , just execute this command declare @tableName varchar(100) = ‘tableName’; declare @value int = 0; DBCC CHECKIDENT (tableName , reseed, @value) The next value will be 1, but you can choose any natural...

PostSharp AssemblyLoadException - Piotr Łuksza 0

Drop Linked Server IN Sql Server

Sometimes we get an error while adding linked server: “The server ‘LinkServerName’ already exists” The solution is to drop remote server name (with all associated remote logins) using a statement EXEC sp_dropserver ‘LinkServerName’, ‘droplogins’ After this, we shouldn’t see server...

PostSharp AssemblyLoadException - Piotr Łuksza 0

404 Not Found Error when using IIS (7.5)

While deploying mvc5 application on Windows server 2008 r2, I had an annoying 404 error. The solution was re-register ASP.NET with aspnet_regiis -i with whe command prompt: c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i Works like a charm!

LogController C# 2

Log collector – logging on steroids

I would like to present a solution that will make it easier to work with any application logs and convenient way to help monitor the work of program. This solution is based on ILogCollector interface. Main features of component: contains three groups...