Using classic ADO.NET in ASP.NET 5

For some projects where performance makes a difference we usually use classic ADO.NET approach instead of EntityFramework or some other modern way to communicate with the database. In this post I will try to explain how to fix some common issues with using ADO.NET in ASP.NET vNext. If you have created ASP.NET 5 or ASP.NET […]

Read Config file in ASP.NET 5

ASP.NET vNext has a new configuration system. With the new version of ASP.NET more than one file type is supported. Currently, there are 3 different file types that are supported: Json, Xml and Ini. For example, we can define connection string in config.json file: { “Data”: { “DefaultConnection”: { “ConnectionString”: “Server=(localdb)\\mssqllocaldb;Database=DbName;Trusted_Connection=True;MultipleActiveResultSets=true” } } } You […]

ASP.NET Identity 2.1 implementation for MySQL

MySqlAspIdentityDatabase.png

In this blog post I will try to cover how to use a custom ASP.NET identity provider for MySQL I have created. Default ASP.NET Identity provider uses Entity Framework and SQL Server to store information’s about users. If you are trying to implement ASP.NET Identity 2.1 for MySQL database, then follow this guide. This implementation […]

Don’t read Non-Fiction, never!

dontread

I just read few non-fiction books. I wanted to share my experience with you. After reading few non-fiction books in short period of time I have realized that only a fraction of the information in these books is important. If we apply the Pareto principle to this: 20% of Non-Fiction book produce 80% value of […]

Fixing issue with HTTPClient and ProtocolViolationException: The value of the date string in the header is invalid

When you parse a large number of sites / RSS feeds using Microsoft HTTPClient or WebClient you can get an exception :”ProtocolViolationException: “The value of the date string in the header is invalid” This error usually occurs when you try to access LastModified date in a response. var response = (HttpWebResponse)httpRequest.GetResponse(); var lastModified = response.LastModified; […]

My Top 5 Christmas Gift Ideas for us – geeks

WiredSms

Inspired by John’s recent blog post Top developer gifts I thought it would nice to create my own Christmas gift list for us – developers. So if you are trying to find the perfect gift for a software developer, programmer or other tech guy, you’ve are on the right place. Check out my gift list […]

Open source In-Memory database architecture

Database Architecture

My friend and I are considering to build In-Memory relational open source database. We have discussed about database architecture and our goals. I’ll try to summarize it in this blog post. We have a few objectives: To create a database using C++. To create a database which will work on Linux, Mac OS X and […]

1 2 3 7