Wednesday, 1 July 2015
in background MVC uses T4 Text Templates 'Controller.tt' to create new controller.cs file.
Location of .tt file is
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ItemTemplates\CSharp\Web\MVC 4\CodeTemplates\AddController\Controller.tt
Tuesday, 30 June 2015
1] Before making new deployment or schema changes
2] or to create a testing database with identical schema and data as existing source db then
--Script #1 -
Creating a database copy CREATE DATABASE AdventureWorksCopy AS COPY OF AdventureWorks
--Script #2 - Package wise events
SELECT * FROM sys.dm_database_copies
This is an asynchronous operation so you can monitor progress using Script 2 or refresh Management Studio to see expected list of tables.
Tuesday, 18 October 2011
1] using NuGet a excellent package management system for the Dotnet install DotnetOpenAuth or download it from SourceForge DotnetOpenAuth Latest version.
3] you need to use given twitterConsumerKeys and TwitterConsumerSecret keys to request authorisation to your app. Add these keys into Web.config as a appSettings
4] Add below code on Controller Action or on Page Load.
5] add TokenManager
now run your code and You will be asked for permission to connect to your twitter account.