Required – VS2012 – NuGet.server 2.5.0.1 Create a new empty web application Menu: File/new/Project Right click the created project and click Manage NuGet Packages… In the new project search for nuget. Install NuGet.Server Open the web config and delete the complilation node as shown below Run the application and you should see the following: Per […]
Discovered a cool feature in EF5. You can create multiple Edmx models in one .NET project. You can now create multiple domains with separate domain models within the same assembly. Up to now, I had one large Edmx file with all the required db objects for all my repositories and also only in one color. […]
Which approach is best? Graceful Degradation, Mobile First, Desktop with Smart phone Apps…. With the new generation of smart phones, wireless devices etc, creating just a desktop web app is no longer a good solution for many business applications. Classic 3 tier development no longer supports the new client requirements. The most common approach which […]
Option 1 – Store deployment, Application password safe, encryption Advantages Deployment is easy Disadvantages LOB app is deployed somewhere on the cloud App must be validated by Microsoft. Time it takes until app is published is unknown. Validation requirements unknown. Option 2 – domain deployment LOB Advantages Don’t have to deploy to the app store […]
On an enterprise sideloading enabled edition, the IT admins needs to verify: The PC is domain joined. The group policy is set to “Allow all trusted apps to install”. The app is signed by a CA that is trusted on the target PCs STEP 1 Add your app cert to the host PC STEP 2 […]
Creating the cert for Windows 8 Apps The following howto was taken from the following website: https://bytescout.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=296 Changes must be made to the makecert args, otherwise the Metro app won’t accept the pfx file! INFO: http://msdn.microsoft.com/en-us/library/windows/desktop/aa386968(v=vs.85).aspx .PFX file (Personal Information Exchange format) is the file containing both a public (.cer file) and a private (.pvk […]
I find it very exciting that TFS is starting to support git at last… Here’s some links. http://arstechnica.com/information-technology/2013/01/microsoft-embraces-git-with-new-tfs-support-visual-studio-integration/ http://blogs.msdn.com/b/bharry/archive/2013/01/30/git-init-vs.aspx http://blogs.msdn.com/b/visualstudioalm/archive/2013/01/30/getting-started-with-git-in-visual-studio-and-team-foundation-service.aspx
Here’s a simple example which helps setup the new FileTable feature in a new database. EXEC sp_configure filestream_access_level, 2 RECONFIGURE GO — Create Database CREATE DATABASE FileTableDB ON PRIMARY (Name = FileTableDB, FILENAME = ‘D:\FileTable\FTDB.mdf’), FILEGROUP FTFG CONTAINS FILESTREAM (NAME = FileTableFS, FILENAME=’D:\FileTable\FS’) LOG ON (Name = FileTableDBLog, FILENAME = ‘D:\FileTable\FTDBLog.ldf’) WITH FILESTREAM (NON_TRANSACTED_ACCESS = […]
In order to use FileTables, the following four steps must be completed, in order: 1. Enable FileStream at the instance Level 2. Provide a FileStream Filegroup 3. Enable Non-Transactional access and specify FileTable directory at the Database Level 4. Create a FileTable ALTER DATABASE ADD FILEGROUP CONTAINS FILESTREAM GO — D:FileTableContainedTestDb must exist ALTER DATABASE […]
I was looking for a easy to understand example of EL 5.0 database logging and couldn’t find one, so here’s a simple example of Enterprise Library 5.0 .NET logging. It logs to the database. Just download from github. Have fun. code: https://github.com/damienbod/ELDBLogging Database Scripts \EntLib50Src\Blocks\Logging\Src\DatabaseTraceListener\Scripts The config tool is here: C:\Program Files (x86)\Microsoft Enterprise Library 5.0\Bin\EntLibConfig.exe to […]
