Posted on 2:02 AM by Softminer and filed under

This problem happens when your asp.net application runs on web farms
Adding enableViewStateMac="false" to webform may solve the problem but it's not recommended.


<?xml version="1.0" encoding="UTF-8"?> 
        <machineKey decryptionKey="xx,IsolateApps" validationKey="xxx,IsolateApps" /> 
To generate using Power shell use this instruction http://support.microsoft.com/kb/2915218 Copy and paster powershell script into file, while running you may get security error. To remove security try x86 Open C:\Windows\system32\cmd.exe Run the command powershell Set-ExecutionPolicy RemoteSigned x64 Open C:\Windows\SysWOW64\cmd.exe Run the command powershell Set-ExecutionPolicy RemoteSigned and to set back to default powershell Set-ExecutionPolicy Restricted Power shell Execution Policies
Posted on 2:58 AM by Softminer and filed under

How to generate long life access token

1. First you need to create an App, for creating app go to https://developers.facebook.com

From menu App, choose Add a new app

when you created app you will have a App ID and App Secret key

2. Gerenerating short access token which is 1 hour valid
From menu choose Tools -> Access Token
then you have the "User Token"

3. Call facebook Api
Go to Tools-> Graph API explorer
for example /me?fields=id,name
would be https://graph.facebook.com/me?fields=id,name&access_token={access_token}

4. To generate 2 months valid access token, use following get request

https://graph.facebook.com/oauth/access_token? grant_type=fb_exchange_token& client_id={app-id}& client_secret={app-secret}& fb_exchange_token={short-lived-token}

app-id you get from step 1
app-secret you get from step 1
short-lived-token you get from step 2

5. Long life valid token

related links +

Posted on 2:24 AM by Softminer and filed under , , ,

Summary of Technical Summit (Keynote)

Visual Studio online for project management, TFS

http://aka.ms/vsosecurity   (microsoft security)

Some Shortcuts in visual studio
Track active item in Solution explorer
Navigate To (Ctrl+comma)
Scrollbar (User map mode for vertical scrollbar)
Ctrl F10 (Run to Cursor)


OWIN defines a standard interface between .NET web servers and web applications.
Katana - OWIN implementations for Microsoft servers and frameworks

Open application insights is analytics for online projects


Xamarin forms is available for business accounts, On Xamarin forms standard control can be used and it will replaced by device user control, Xamarin forms dont have UI designer currently.

PCL = Portable class library as a share library in Xamarin project
Yumtoso is an example of Xamarin project which is online ( A universal App)

Xamarin generate pure Objective C code
NO IL-code
.Net runtime

Genymotion is an android simulator on MAC os

Mobile web app ui design

Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript.

Bower.io is a package manager for web

npmjs package installer


Cross platform application

Tools for Apache Cordova Update: iOS Debugging & Windows 8.1 Support

Video Presentation

asp.net Next version

Announcing ASP.NET features in Visual Studio 2015 Preview and VS2013 Update 4

Release management for visual studio 2013
Some related video can be found on Channel 9 http://channel9.msdn.com/Events/TechEd/Europe/2014

News about .Net Open source
Posted on 2:53 AM by Softminer and filed under ,

This is the structure of Simple Ranorex project

In Login repository we can track the inputs on the page.

In Code Module we create instance of login repository, fill them up and navigate throgh the test

Test Suite contains test cases, there we have to add our exisitng test module to it, every test module can have only one databinding and test will run for rows you define.

Local varibles should be defined in the code module and they could bind to varibale in database.

Posted on 8:19 AM by Softminer and filed under ,

Here is a good example of publish subscribe design pattern in c#

Here you can read about Publish Subscribe design pattern

WCF has already some method to implement it

Posted on 7:18 AM by Softminer and filed under ,

To install TFS 2013 you need to install SQL server 2012 or 2014
Look at the requirement here

After installation you have to create new TeamProject

and choose a process template for that, Here is the default process template

To be able to customize a template you should be able to download the template, edit it and upload it

Modify or add custom work Item

Posted on 5:05 AM by Softminer and filed under ,

Comparing with selenium Ranorex is very much powerful but costly which start from 690€.
Selenium has a lot problem with browser compatibility and It doesnt work for example with Firefox versions.

Here is a tutorial about Testing web Service