.net (75)

Moving to ASP.NET Core RC2: Tooling
2016-05-22 14:04:00

.NET Core Runtime RC2 has been released a few days ago along with .NET Core SDK Preview 1. At the same time of .NET Core release, ASP.NET Core RC2 has also been released. While I am migrating my projects to RC2, I wanted to write about how I am getting each stage done. In this post, I will show you the tooling aspect of the changes.

Microsoft Build 2016 in a Nutshell
2016-04-09 18:59:00

Two weeks ago, I had an amazing opportunity to be at Microsoft Build Conference in San Francisco and I would like to share my experience about the conference with you in this post by highlighting what has happened and giving you my personal takeaways.

Having a Look at dotnet CLI Tool and .NET Native Compilation in Linux
2016-01-03 18:20:00

dotnet CLI tool can be used for building .NET Core apps and for building libraries through your development flow (compiling, NuGet package management, running, testing, etc.) on various operating systems. Today, I will be looking at this tool in Linux, specifically its native compilation feature.

Integration Testing with MongoDB with MongoDB.Testing Library
2015-12-05 21:06:00

I have put together a library, MongoDB.Testing, which makes it easy to stand up a MongoDB server, create a random database and clean up the resources afterwards. Here is how you can start using it.

My Talk on Profiling .NET Server Applications from Umbraco UK Festival 2015
2015-11-11 13:13:00

I was at Umbraco UK Festival 2015 in London a few weeks ago to give a talk on Profiling .NET Server Applications and the session is now available to watch.

ASP.NET 5 Identity MongoDB Implementation
2015-11-05 20:04:00

ASP.NET Identity will have a new version with ASP.NET 5 which is going to be version 3.0.0 and I gave it shot to implement ASP.NET Identity MongoDB data store.

ASP.NET 5 and Log Correlation by Request Id
2015-10-28 00:44:00

ASP.NET 5 is full of big new features and enhancements but besides these, I am mostly impressed by little, tiny features of ASP.NET 5 Log Correlation which is provided out of the box. Let me quickly show you what it is in this post.

Profiling ASP.NET 5 Applications with ANTS Performance Profiler
2015-10-20 19:16:00

ANTS Performance Profiler from Redgate supports ASP.NET 5 applications running on DNX and it allows you to profile your ASP.NET 5 applications to spot performance problems in a really easy and unobtrusive way. In this blog post, I will show you how it can help you with a sample.

Setting IHostingEnvironment.IsDevelopment as True in an ASP.NET 5 Application
2015-09-13 15:35:00

Wondering why IHostingEnvironment.IsDevelopment returns false even when you are on you development machine? I did indeed wonder and here is why :)

Speaking at Web European Conference 2015 in Milan
2015-09-12 12:14:00

Web European Conference 2015 will happen in Milan on the 26th of September and I will be talking about ASP.NET 5 there!

That Conference 2015 and My ASP.NET 5 Talk
2015-08-16 18:02:00

This week, I had the privilege to attend That Conference as a speaker to give a talk on ASP.NET 5. Here is a quick blog post on my conference experience.

Progressive .NET Tutorials 2015 and Recording Videos of My ASP.NET 5 Talks
2015-07-07 21:45:00

Last Friday, I was at Progressive .NET Tutorials 2015 in London and I gave two talks on ASP.NET 5. Here are the recording videos and slides of my two ASP.NET 5 talks!

Upcoming Conferences That I am Speaking at
2015-06-16 20:44:00

I have a few speaking activities lined up in upcoming weeks on ASP.NET 5 and DLM and I thought it would be good to share these with you all :)

First Hours with Visual Studio Code on Mac and Windows
2015-04-29 21:15:00

Today is one of those awesome days if you build stuff on .NET platform. They announced bunch of stuff during Build 2015 keynote and one of them is Visual Studio Code, a free and stripped down version of Visual Studio which works on Mac OS X, Linux and Windows. Let me give you my highlights in this short blog post :)

Exciting Things About ASP.NET 5 Series: Build Only Dependencies
2015-04-28 07:48:00

In this very exciting post, I would like to talk about build only dependencies whose code can be compiled into target project and the dependency won’t be shown as a dependency.

Compiling C# Code Into Memory and Executing It with Roslyn
2015-03-31 20:39:00

Let me show you how to compile a piece of C# code into memory and execute it with Roslyn. It is super easy if you believe it or not :)

Dependency Injection: Inject Your Dependencies, Period!
2014-11-18 12:39:00

Reasons on why I prefer dependency injection over static accessors.

Exciting Things About ASP.NET vNext Series: MVC View Components
2014-10-06 11:46:00

A few days ago, I started a new blog post series about ASP.NET vNext. Today, I would like to talk about something which is MVC specific and takes one of our pains away: view components :)

Debugging ASP.NET vNext Beta Builds with Visual Studio 14 CTP 3
2014-10-05 16:17:00

Visual Studio CTP 3 has launched a while back and I was expecting to have trouble working with ASP.NET vNext beta builds. I was partially right. I wasn’t able to run the web application from Visual Studio. However, it’s still possible to debug the application and I have a workaround for you :)

Exciting Things About ASP.NET vNext Series: The Ultimate Guide
2014-10-03 11:49:00

As of today, I am starting a new blog post series about ASP.NET vNext. To kick things off, I would like to lay out the resources about ASP.NET vNext here which is probably going to be an ultimate guide on ASP.NET vNext.

Getting Started with ASP.NET vNext by Setting Up the Environment From Scratch
2014-09-28 19:08:00

In this post, I'll walk you through how you can set up your environment from scratch to get going with ASP.NET vNext.

Efficiently Streaming Large HTTP Responses With HttpClient
2014-05-11 12:56:00

Downloading large files with HttpClient and you see that it takes lots of memory space? This post is probably for you. Let's see how to efficiently streaming large HTTP responses with HttpClient.

Order of Fields Matters on MongoDB Indexes
2014-04-12 18:52:00

Order of Fields Matters on MongoDB Indexes. Let's see how with an example.

A C# Developer's First Thoughts on MongoDB
2014-04-12 14:22:00

After working with RavenDB over the year, I just started looking into MongoDB. I worked with MongoDB a year ago or so in a small project but my knowledge was mostly rusty and I don't want that to happen again :) So, here I'm, documenting what my second thoughts are :)

AspNet.Identity.RavenDB: Fully asynchronous, new and sweet ASP.NET Identity implementation for RavenDB
2013-11-29 09:39:00

A while back, ASP.NET team has introduced ASP.NET Identity, a membership system for ASP.NET applications. Today, I'm introducing you its RavenDB implementation: AspNet.Identity.RavenDB.

Windows Azure Management Client Libraries for .NET and It Supports Portable Class Library
2013-10-30 06:17:00

One of the missing pieces of the Windows Azure story is within our reach now! A few days ago Azure folks have released Windows Azure .NET Management Client Libraries

Short Introduction Video for OWIN and Project Katana
2013-10-21 13:29:00

I've recorded a short video which covers the brief introduction of OWIN and Project Katana. That short video will give you an idea about OWIN and Project Katana.

Pro ASP.NET Web API Book is Shipped and Available on Amazon
2013-09-25 06:28:00

Today, I am very proud to say that Pro ASP.NET Web API Book is now shipped and available on Amazon for paperback sales :)

Logging in the OWIN World with Microsoft.Owin: Introduction
2013-09-18 16:14:00

Microsoft implementation of OWIN (Microsoft.Owin or Katana for now) has a great logging infrastructure and this post will walk you through the basics of this component.

Owin.Dependencies: An IoC Container Adapter Into OWIN Pipeline
2013-09-06 07:33:00

Owin.Dependencies is an IoC container adapter into OWIN pipeline. This post will walk you through the Autofac IoC container implementation and ASP.NET Web API framework adapter for OWIN dependencies.

Microsoft Turkey Summer School Presentation Samples and Links for .NET Web Stack
2013-08-25 15:09:00

I was at Microsoft's Turkey headquarters giving talks on Microsoft Web Stack for Microsoft Summer School and here are presentation samples and links for .NET Web Stack

Getting Started With OWIN and the Katana Stack
2013-05-04 18:04:00

OWIN and Katana is best way to build web server indipendent web applications in .NET ecosystem and this post will help you a bit on getting started.

Autofac Open Generics Feature to Register Generic Services
2013-02-05 08:46:00

Autofac, an awesome IoC container for .NET platform, has an out of the box generic service registration feature which we will quickly cover in this blog post.

Hierarchical Resource Structure in ASP.NET Web API
2013-02-04 08:11:00

This post explains the concerns behind the hierarchical resource structure in ASP.NET Web API such as routing, authorization and ownership.

ASP.NET Web API Tracing and IDependencyScope Dispose Issue
2013-01-12 16:26:00

If you enabled tracing on your ASP.NET Web API application, you may see a dispose issue for IDependencyScope. Here is why and how you can workaround it.

Clean, Better, and Sexier Generic Repository Implementation for Entity Framework
2013-01-10 13:00:00

With the new release of the GenericRepository.EntityFramework package, we now have clean, better and sexier generic repository implementation for Entity Framework. Enjoy!

Sides and Source Code for DEU Bilgisayar Topluluğu Izmir 2. Teknoloji Zirvesi
2013-01-08 04:34:00

This weekend, I participated in an event as a speaker in Izmir, DEU Bilgisayar Topluluğu Izmir 2. Teknoloji Zirvesi. Sides and Source Code for my sessions are available.

List of Resources on Asynchronous Programming for .NET Server Applications with C#
2013-01-05 22:01:00

I listed some resources on asynchronous programming for .NET server applications with C# which consist of blog posts, presentations and podcasts.

Mapping ASP.NET SignalR Connections to Real Application Users
2013-01-01 15:32:00

One of the common questions about SignalR is how to broadcast a message to specific users and the mapping the SignalR connections to your real application users is the key component for this.

Pro ASP.NET Web API's Sample Project (PingYourPackage) Source Code is Up on GitHub
2012-12-20 21:32:00

We wanted to give you an early glimpse on the Pro ASP.NET Web API's sample application(PingYourPackage) and its source code is now up on GitHub.

Why am I not Using NancyFx Instead of ASP.NET MVC / Web API
2012-12-18 19:50:00

Why am I not using NancyFx instead of ASP.NET MVC / Web API? Because of a very important and vital missing part with NancyFx: asynchrony!

SignalR - Real-time Web Applications Webcast Recording (In Turkish) is Available
2012-11-14 08:57:00

SiganlR - Real-time Web Applications webcast recording (in Turkish) is available. The video is available on NedirTV and Vimeo.

Advanced ASP.NET Web API Webcast Offline Recording (In Turkish) is Available
2012-11-07 09:27:00

Advanced ASP.NET Web API Webcast Offline Recording (In Turkish) is Available

Advanced ASP.NET Web API Webcast Slide and Codes
2012-11-02 07:07:00

The slide and the full source code of the Advanced ASP.NET Web API webcast (Turkish) is available.

Newsflash! ASP.NET Web API does not Sit on Top of ASP.NET MVC! In Fact, It does not Sit on Top of Anything
2012-10-20 08:57:00

One of the common misconceptions about ASP.NET Web API is that it is being built on top of ASP.NET MVC. Today, I am going to break it!

Pro ASP.NET Web API Book is Available on Amazon for Pre-order
2012-10-15 12:38:00

Two days ago, I blogged about the availability of the Pro ASP.NET Web API Book through Apress Alpha Program. Today, the Pro ASP.NET Web API book is now available on Amazon for pre-order

Pro ASP.NET Web API Book is Available Through Apress Alpha Program
2012-10-13 10:45:00

I am proud to announce that the Pro ASP.NET Web API book is available through Apress Alpha Program and you can get access to the early bits and completed chapters now.

Streaming with New .NET HttpClient and HttpCompletionOption.ResponseHeadersRead
2012-08-01 06:27:00

How to consume a streaming endpoint with new .NET System.Net.Http.HttpClient and the role of HttpCompletionOption.ResponseHeadersRead

.NET 4.5 to Support Zip File Manipulation Out of the Box
2012-05-17 15:19:00

One of the missing feature of .NET framework was a support for Zip file manipulation. In .NET 4.5, we have an extensive support for manipulating zip archives.

Slides of My MS Web Platform & ASP.NET MVC 101 Talks
2012-03-23 17:23:00

Today, I was at Computer Engineering Department of Mugla University and I gave two introduction talks on MS Web Platform and ASP.NET MVC 101.

WCF Web API Plays Nice With ELMAH - A Quick Introduction to WCF Web API HttpErrorHandler
2011-11-22 12:09:00

See how WCF Web API Plays Nice With ELMAH. This blog post is a Quick introduction to WCF Web API HttpErrorHandler

Introduction to WCF Web API - New REST Face of .NET
2011-11-21 08:09:00

This blog post will give you an introduction to WCF Web API and show you how to get started with WCF Web API along with Dependency Inject support with Ninject.

Check Instantly If Username Exists - ASP.NET MVC Remote Validation
2011-10-19 04:07:00

This blog post will walk you through on implementation and usage of ASP.NET MVC Remote Validation. As a sample, we will validate the availability of the username for membership registration.

Working With JQuery Ajax API on ASP.NET MVC 3.0 - Power of JSON, JQuery and ASP.NET MVC Partial Views
2011-09-09 17:23:00

In this post, we'll see how easy to work with JQuery AJAX API on ASP.NET MVC and how we make use of Partial Views to transfer chunk of html from server to client with a toggle button example.

ASP.NET Web Forms : Calling Web Service Page Methods Using JQuery
2011-05-15 20:58:00

In this blog post we will see how to consume a web page methods using JQuery on ASP.NET Web Forms and use ASP.NET page methods as services. You will find some cool stuff about other things as well :)

MCTS 70-515, Failed but I'm Gonna Beat It Next Time - Throughout MCTS Exam Overview and Experience
2011-05-14 17:44:00

Couple of days ago I took the Exam 70-515, TS: Web Applications Development with Microsoft .NET Framework 4 and I am gonna walk you through it in this post

Parent / Child View In a Single Table With GridView Control On ASP.NET Web Forms
2011-04-28 13:13:00

This awesome blog post will demonstrate how to create a complete, sub-grouped product list in a single grid. Get ready for the awesomeness...

How To Handle Multiple Checkboxes From Controller In ASP.NET MVC - Sample App With New Stuff After MVC 3 Tools Update
2011-04-27 11:10:00

In this blog post, we will see how to handle multiple checkboxes inside a controller in ASP.NET MVC. We will demonstrate a sample in order to delete multiple records from database.

We Love .NET 4 - Clean Web Control IDs with ClientIDMode Property to Static and Predictable
2011-03-24 17:58:00

In this blog post, we will see how ClientIDMode property of Web Controls makes our lives easier. Also, we will demonstrate couple of scenarios on how it works...

File By File Deployment Process with MSDeploy Inside Visual Studio
2011-03-05 08:32:00

Have you ever used 'MSDeploy' inside Visual Studio 2010 and wished a nice process bar while publishing a web application? There is even a better way!

Local IIS 7.0 - CS0016: Could not write to output file / Microsoft.Net > Framework > v4.0.30319 > Temporary ASP.NET Files
2011-03-05 08:18:00

Solution to an annoying error message! You are getting 'Could not write to output file 'c:\Windows\Microsoft.NET\Framework\....' message? You are at the right place.

Running ASP.NET MVC Under IIS 6.0 and IIS 7.0 Classic Mode : Solution to Routing Problem
2011-02-26 07:31:00

In this blog post, we will see how to run ASP.NET MVC application under IIS 6.0 and IIS 7.0 classic mode with some configurations on IIS and Global.asax file...

ASP.NET MVC : Throwing 404 Exceptions Manually From Controller When Model is Null
2011-02-17 09:44:00

This post is a quick demonstration of how you can throw HttpException of 404 manually from a controller on ASP.NET MVC when the model you're passing is null

Microsoft MIX11 : Students & Academic Staff Discount is Available For the Conference
2011-02-16 06:22:00

Microsoft MIX11 : Students & Academic Staff Discount is Available For the Conference / The chance that every geek student wants to catch!

SQL Injection vs. Lethal Injection / Protection Against SQL Injection
2011-01-29 18:37:00

SQL Injection and Lethal Injection... They are both dangerous and they can be easily fatal. But how? What is SQL Injection and how it can effect my project? The answers are in this blog post.

Windows Live Writer Codehighlighting Plugin For Alex Gorbatchev's SyntaxHighlighter
2010-12-22 07:44:00

Windows Live Writer Codehighlighting Plugin For Alex Gorbatchev's SyntaxHighlighter is available on codeplex

Deployment of ASP.Net MVC 3 RC 2 Application on a Shared Hosting Environment Without Begging The Hosting Company
2010-12-18 12:41:29

After the release of ASP.Net MVC RC 2, we are now waiting for the RTM release but some of us wanna use RC 2 already... But how to deploy it on a shared hosting acount is the mind-exploding problem...

Custom Errors on ASP.Net MVC - redirectMode="ResponseRewrite" Issue
2010-12-08 21:17:17

I assume that some of you folks have tried that in your ASP.Net MVC applications and try to figure out why it doesn't work. Well, I have figured it out...

Sending E-mail to All List of Membership Users with ASP.Net Using Built-in Membership API
2010-11-26 09:23:28

Most of the Asp.Net developers are using Membership class of Asp.Net and in this blog post we will see how to send e-mail to all of the membership users at once...

How to Delete a Previously Created Cookie With C# ASP.Net / Deleting Cookie ASP.Net
2010-10-03 08:13:12

You created a cookie on you asp.net forms application now you would like to delete it. This quick article show how to do the trick...

ASP.NET Security Vulnerability Has Been Detected by Microsoft
2010-09-22 14:17:50

On the 17th of Sepetember in 2010, Microsoft released a advisory for a very serious ASP.NET vulnerability which will cause to view data, such as the View State

Country DropDownList - ListItems of A Country Dropdownlist includes All Countries, Country Dropdownlist Component
2010-08-01 13:33:54

Country DropDownList for Asp.NET developers ! Save a lot of time by copying and pasting this code to your application for a country dropdownlist. Do not create it from scratch :)

How To Use C# (C Sharp) Switch Case, Switch Case Samples
2010-04-16 08:51:47

After you read this article, you will be able to use the 'Switch Case' Function on your C# Projects. This function becomes so handy with DropDownList & RadioButtonList !

How to Validate A CheckBox in ASP.Net 3.5 / Checkbox Validation Control Sample Code in ASP.Net, C# (C Sharp) And Visual Basic
2010-04-06 08:01:56

This article will give you an idea to validate a checkbox in ASP.Net 3.5 ! It is so easy to implement and so handy to use !

ASP.Net Chart Control On Shared Hosting Environment, Chartimagehandler / Parser Error Problem Solution
2010-03-13 17:21:00

ASP.Net Chart Control On Shared Hosting Envronment (Parser Error) - Deployment of Chart Controls On Shared Hosting Environment Properly...