Alik Levin's

Clarity, Technology, and Solving Problems | PracticeThis.com

Browse by Tags

Tagged Content List
  • Blog Post: Windows Phone 7 Development – Getting Started

    I am starting to ramp up on Windows Phone 7 development. Plan to build an app for better content consumption experience for the under-the-fire scenarios, situations when you need to provide quick precise answers in no time for specific domains. Following is the high level view of the building blocks...
  • Blog Post: Authorization With RoleManager For Claims Aware (WIF) ASP.NET Web Applications

    This post outlines necessary steps in order to implement basic ASP.NET RoleManager for claims aware applications. One of the possible scenarios where it could be applicable is when migrating ASP.NET web application that already uses RoleManager to be claims aware. “I have built an ASP.NET web application...
  • Blog Post: Windows Identity Foundation (WIF) Code Samples

    To start writing code using Windows Identity Foundation download Windows Identity Foundation SDK . The Windows Identity Foundation SDK provides templates for use with Visual Studio and code samples. This download requires the Windows Identity Foundation runtime be present. Code samples installed by default...
  • Blog Post: Windows Identity Foundation (WIF) By Example Part III – How To Implement Claims Based Authorization For ASP.NET Application

    This post is based on what I am reading now in Vittorio ’s new book Programming Windows Identity Foundation (Dev - Pro) . To complete this example I assume you have working claims aware ASP.NET application. If you do not – complete one of these before you proceed (15 minutes or less): Windows Identity...
  • Blog Post: Windows Identity Foundation (WIF) By Example Part II – How To Migrate Existing ASP.NET Web Application To Claims Aware

    In this post I outline the steps I needed to complete in order to migrate ASP.NET site from using Windows Integrated authentication to using Windows Identity Foundation. Summary of steps: Step 1 – Create simple ASP.NET application Step 2 – Configure and test the application for Windows Integrated authentication...
  • Blog Post: Windows Identity Foundation (WIF) By Example Part I – How To Get Started.

    This post reflects on the steps I needed to perform to create my first Windows Identity Foundation (WIF) application from zero to Hello World. It can serve as a bootstrap for starting developing Claims-Aware ASP.NET application using Windows Identity Foundation (WIF). This post quickly goes through...
  • Blog Post: Configuring Application Data Access and Network Protocols for SQL Server

    The notes taken while reading MCITP Self-Paced Training Kit (Exam 70-442): Designing and Optimizing Data Access by Using Microsoft SQL Server 2005 (Self-Paced Training Kits) . When application access the SQL Server instance make sure those three configurations are in sync: Network protocols...
  • Blog Post: Solution Architecture For The Masses. Step 4: Design Your Presentation Layer – Part II

          This post is a follow up of Part I . I am following the Web Application frame outlined in Web Application Archetype . In Part I I covered Authentication, Authorization, Caching, Exception, Management, Logging & Instrumentation. In this post I will cover the rest of Web Application...
  • Blog Post: Getting Started Building Web Parts in SharePoint 2010

          I followed the instructions provided in Module 1: Getting Started Building Web Parts in SharePoint 2010 webcast. This webcast teaches the following: Create standard ASP.NET Web Parts for SharePoint 2010. Create Visual Web Parts for SharePoint 2010. Use SharePoint controls and...
  • Blog Post: DebugView - Free Simple Tool To Quickly Identify Performance Problems

         DebugView is well known free tool from Systinternals (Microsoft) . Vast majority of developers is aware of its existence. Nevertheless, I've decided to write this post following my practice of journaling my technical accomplishments during engagements with the customers. Yesterday...
  • Blog Post: ASP.NET Performance: Fast AJAX, Faster AJAX

          AJAX improves significantly both user experience and performance. It can be further improved by using down level capabilities that .Net framework offers. Specifically, consuming Web Services and WCF directly from client script. The best part is that ASP.NET AJAX comes with built...
  • Blog Post: Improve ASP.NET 2.0 Performance With PageAsyncTask - Multithreading For The Masses

          Multithreading is tough. This is what John Robbins says about it in his excellent book Debugging Microsoft .NET 2.0 Applications : "Don't do it... Make sure there's no other way you can structure your program before you decide to incorporate multithreading into your application...
  • Blog Post: Best ASP.NET Performance Winner For Data Binding - Hands Up To Response.Write()

         To achieve best performance you need to make decisions based on trade-off between coolness, coding productivity, and personal engineering values. I never thought I would be recommending my customer considering using old fashion Response.Write() in his Internet facing ASP.NET...
  • Blog Post: Improve ASP.NET Performance With Multithreading Using Thread Or ThreadPool Objects

    Your ASP.NET application performs slower than expected? How many times do you access your database for each request? Did you use SQL Profiler to find out? Did you know that chatty database access is one of the most common performance sins (this is my own observation)? Want to improve? - Reduce the number...
  • Blog Post: Pitfalls With .Net Multithreading And COM Objects – Threads Must Have Compatible Apartment Models (MTA vs. STA)

    Be alert when implementing multithreading .Net in conjunction with COM objects. Thread apartment models matter. .Net threads have Multi Threaded Apartment (MTA) model by default. COM objects have Single Thread Apartment (STA). Calling on COM objects on .Net threads that you spawn may cause unpredicted...
  • Blog Post: WCF Security - Input/Data Validation Using Schemas

    WCF offers very flexible approach of Input and Data Validation based on XML Schemas. The approach is flexible since the validation rules are expressed in form of XML schema and can be changed at any time without recompiling the solution. I followed the steps detailed in How To: Perform Message Validation...
  • Blog Post: WCF Security - Input/Data Validation Sample Visual Studio Project

    Input and Data Validation is one of the core security principles . WCF is no exception . To get most out of WCF in secure way one must implement proper Input and Data Validation. I was following instructions on How To – Perform Input Validation in WCF compiled by patterns&practice team lead...
  • Blog Post: ASP.NET Performance Sin - Serving Images Dynamically (Or Another Reason To Love Fiddler)

    Serving images dynamically may cause performance hit. Dynamically served images require more HTTP requests which violates Steve Souders' performance rule #1 - Make Fewer HTTP Requests . The latency is also caused by parallelism (or parallel downloading) limitations as described in detail here Performance...
  • Blog Post: Free Performance Tool - Analyze IIS Logs Like A Pro With Funnel Web Analyzer

    These free performance tools will save you time and money identifying performance bottlenecks. Your customers will thank you for building fast and responsive applications. Funnel Web Analyzer 5.0 for Windows Download the tool here. Analyzer gives insight into everything from server load and...
  • Blog Post: patterns & practices WCF Security Guidance Project - live on Codeplex

    patterns & practices has recently released WCF Security Guidance Project . JD , the program manager behind the effort, has been blogging about it too.It is evolving project but the initial content is fantastic already. It has Application Scenarios , Video Index , but my favorites are How-To's: How...
  • Blog Post: How To Consume WCF Using AJAX Without ASP.NET

    How to consume WCF services directly from Html client? How to add AJAX-like functionally to application that does not natively support ASP.NET AJAX like classic ASP, ASP.NET 1.1, or PHP? WCF that ships with .Net 3.5 provides capability to consume it from any JavaScript enabled client via XML or JSON...
  • Blog Post: Performance Sin - Using Exceptions To Control Flow

    Want to spot coding anti-patterns from performance perspective without actually looking in the code? One of the common performance coding anti-patterns I’ve noticed lately is using Exception Handling to control program flow. The anti-patterns Most common anti-pattern is just using exception handling...
  • Blog Post: Performance Code Review Tool – Practices Checker

    Care about performance? Do you write your code with performance in mind? Want little help to spot performance bottlenecks automatically? Practices Checker to the rescue. The goal of the tool is “Help you perform a manual code inspection by analyzing your application for potential coding and configuration...
  • Blog Post: How To Keep ASP.NET ViewState On The Server – Revised

    This is a follow up post to Basic Sample - How To Keep ASP.NET ViewState On The Server ASP.NET 2.0 offers much easier built-in mechanism to save ViewState on the server in Session using SessionPageStatePersister . Thanks to Russ who pointed me to this feature available in ASP.NET 2.0 via comments in...
  • Blog Post: ASP.NET AJAX Control Toolkit - Basic Sample For DynamicPopulate Control

    How to dynamically populate the content of a control based on Web Service call triggered by another control? DynamicPopulate extender to the rescue: DynamicPopulate is a simple extender that replaces the contents of a control with the result of a web service or page method call. The method call returns...
Page 1 of 3 (53 items) 123