Posted on 1:53 AM by Softminer and filed under

Book can be ordered here
Posted on 4:05 AM by Softminer and filed under

TO be able to see files checked out you need to install TFS power tools

after that you will be able to run command prompt for visual studio

tf status itemspec [/collection:TeamProjectCollectionUrl] [/login:username,[password]] ([/workspace:workspacename[;workspaceowner]]|[/shelveset:shelvesetname[;shelvesetowner]])[/format:(brief|detailed)]

More Info

tf status "$/Project/MyApp" /collection:http://tfs:8080/tfs /user:myuser /recursive /workspace:myworkspace

To view it in Visual studio GUI

Right click on the top most folder that you want to start in
Choose "Find In Source Control"
Choose "Status"
Check "Recursive"
Check "Status"
Enter userid in the "Display files checked out to:" box (i have to include my domain, i.e. domain\userid)
Click "Find"

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

Here is a simple example of reading file using javascript, more info on links

<input type="file" id="fileinput" />
<script type="text/javascript">
  function readSingleFile(evt) {
    //Retrieve the first (and only!) File from the FileList object
    var f = evt.target.files[0]; 

    if (f) {
      var r = new FileReader();
      r.onload = function(e) { 
       var contents = e.target.result;
        alert( "Got the file.n" 
              +"name: " + f.name + "n"
              +"type: " + f.type + "n"
              +"size: " + f.size + " bytesn"
              + "starts with: " + contents.substr(1, contents.indexOf("n"))
    } else { 
      alert("Failed to load file");

  document.getElementById('fileinput').addEventListener('change', readSingleFile, false);
Posted on 1:33 AM by Softminer and filed under

1. First make sure that the MTP is enabled on the Nexus 5: Settings > Storage > Menu > USB connection to the computer.

2. Plug your Nexus 5 into your computer via USB.

2. On Windows, open the device manager (on Windows 8, press "Ctrl+Q" then just use the search box at right hand side to search for it). You may need the administrator password to open it.

3. Once in the Device Manager, look for the name of your plugged in device. It may be given the name phone, Acer ADB Interface, or something else specific to your device. (It might be tricky to find for users unfamiliar with the device manager, so if you can't find it try unplugging the device and seeing which item disappears. You can just plug it in again afterwards and continue with the instructions.)

4. Right click on the device name and click "Update" by selecting local disk. Don't choose online because you'll just get a message telling you that your driver is up to date.

5. Choose MTP USB Driver.

6. Once the installation is complete, your device manager should show Nexus 5 instead of what you had before.
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