| 

.NET C# Java Javascript Exception

Code-Inside Blog

Blog über die moderne Webentwicklung mit ASP.NET MVC, Javascript & HTML5 auf der Microsoft Plattform.
Über den Autor
Robert Mühsig ist Webentwickler bei der T-Systems Multimedia Solutions GmbH in Dresden und wurde von Microsoft mit dem ASP.NET MVP Award ausgezeichnet.
Webseite des Autors Themen des Autors
.net allgemein asp.net asp.net-mvc azure azure-ad azure-websites bootstrap browser chrome cloud csharp css dart entity-framework fix games git github google howto howtocode html5 icons iis javascript jquery metro nosql nuget oauth open-source oss owin powershell ravendb rest rss security tfs twitter ui veranstaltungen visual-studio waad web webdeploy windows-8 windows-azure windows-phone-7
Auf codekicker News finden Programmierer redaktionell vorausgewählte und daher hochwertige Artikel zu verschiedenen, auswählbaren Themen. Auch dieser Autor veröffentlicht seine Artikel auf codekicker News.

» News weiterer Autoren
» Auch Autor werden


News und Artikel von Code-Inside Blog

8

Using Visual Studio Code & Team Foundation Version Control (TFVC)

Recently we start working on a Angular 4 app but all other parts of the application (e.g. the backend stuff) were stored in a good old TFVC based repository (inside a Team Foundation Server 2015) . Unfortunately building an Angular app with the full blown Visual Studio with the “default” Team Explorer workflow is not really practical. Another point for using Visual Studio Code was ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
30.05.2017 | 56 0
4

.NET CultureInfo in Windows 10

... of this “limitation” on older Windows versions. I discovered this problem while debugging our backend admin application. With this ASP.NET frontend it is possible to add or manage “localized” content and the dropdown for the possible language listed a whole bunch ... 4096 was introduced with Windows Vista, but only with Windows 10 it will be “easy” usable within the .NET Framework.
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
24.04.2017 | 245 0
7

How we moved to Visual Studio 2017

Visual Studio 2017 has arrived and because of .NET Core and other goodies we wanted to switch fast to the newest release with our product OneOffixx. ... In our solution we use some VC projects (just for Office Development & building a .NET shim), Windows Installer XML & many C# projects for desktop or ASP.NET stuff. Our builds are scripted with CAKE (see here for some more blogposts about ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
28.03.2017 | 125 0
4

HowTo: Get User Information & Group Memberships from Active Directory via C#

I had to find a way to access all group memberships from a given Active Directory user. The problem here is, that groups may contain other groups and I needed a list of “all” applied group memberships - directly or indirectly. The “fastest” solution (without querying each group) is to use the Token-Groups attribute, which already does this magic for us. This list should contain all ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
03.03.2017 | 75 0
7

HowTo: Get User Information & Group Memberships from Active Directory via C#

I had to find a way to access all group memberships from a given Active Directory user. The problem here is, that groups may contain other groups and I needed a list of “all” applied group memberships - directly or indirectly. The “fastest” solution (without querying each group) is to use the Token-Groups attribute, which already does this magic for us. This list should contain all ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
03.03.2017 | 107 0
13

Create NuGet packages with Cake

... command. Before we invoke this command we need to make sure that we b uild the last recent version - to enforce that we just rebuild ... task: RunTests Start Running Tests xUnit.net Console Runner (64-bit .NET 4.0.30319.42000) Discovering: Sloader.Config.Tests Discovered: Sloader.Config.Tests Starting: Sloader.Config.Tests Finished: Sloader.Config.Tests Discovering: ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
14.02.2017 | 247 0
9

Build & run xUnit tests with Cake

... BuildTests RunTests Executing task: RunTests Start Running Tests xUnit.net Console Runner (64-bit .NET 4.0.30319.42000) Discovering: Sloader.Config.Tests Discovered: Sloader.Config.Tests Starting: Sloader.Config.Tests Finished: Sloader.Config.Tests Discovering: Sloader.Engine.Tests Discovered: Sloader.Engine.Tests Starting: Sloader.Engine.Tests ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
08.02.2017 | 196 0
6

GitHub API: Create or update files

This blogpost covers a pretty basic GitHub topic: Creating and updating content on GitHub. Of course, there are many ways to do it - e.g. you could do the full Git-ceremony and it would work with all Git hosts, but in my case I just wanted to target the offical GitHub API. Prerequisite: A GitHub User, Repo and Token To use this code you will need write access to a GitHub repository and you ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
03.01.2017 | 183 0
6

DbProviderFactories: Write database agnostic ADO.NET code

... to you app.config: system.data DbProviderFactories remove invariant "MySql.Data.MySqlClient" / add name "MySQL Data Provider" invariant "MySql.Data.MySqlClient" description ".Net Framework Data Provider for MySQL" type "MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version 6.9.9.0, Culture neutral, PublicKeyToken c5687fc88969c44d" / ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.12.2016 | 723 0
8

Enable SSL with custom domains on GitHub Pages via Cloudflare

... to the rescure I decided to take a deeper look at Cloudflare, which provides DNS, CDN and other “net work”-related services. For the “main” service Cloudflare serves as the DNS for your domain and is like a ... This is just the free plan. And everything is pretty easy to manage via the web interface. Setup The first step is to register at Cloudflare & setup your domain. After the first step ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
15.11.2016 | 187 0
9

Writing loops in T-SQL

The topic is quite old, but I found it really helpful, so be warned. Scenario: Iterate over a result set and insert it in a new table in T-SQL I had to write a SQL migration script to move date from an old table into a new table with a new primary key. Update! I discovered that my problem would have been solved with a much simpler SQL script (INSERT INTO x …(SELECT … FROM Y)). So my example here ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.10.2016 | 212 0
8

Writing loops in T-SQL

The topic is quite old, but I found it really helpful, so be warned. Scenario: Iterate over a result set and insert it in a new table in T-SQL I had to write a SQL migration script to move date from an old table into a new table with a new primary key. Update! I discovered that my problem would have been solved with a much simpler SQL script (INSERT INTO x …(SELECT … FROM Y)). So my example here ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.10.2016 | 155 0
11

Lets convert a WPF app to the Universal Windows Platform

... MSDN. But let’s start with a simple WPF app (running on .NET 4.6.1) - this is the MainWindow.xaml Window x:Class "WpfToUwpTestApp.MainWindow" xmlns "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x ... project template) - my solution looks like this: When we b uild the .csproj the output should look like this: WpfToUwpTestApp.exe appxmanifest.xml ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.10.2016 | 150 0
10

Lets convert a WPF app to the Universal Windows Platform

... the MSDN. But let’s start with a simple WPF app (running on .NET 4.6.1) - this is the MainWindow.xaml Window x:Class "WpfToUwpTestApp.MainWindow" xmlns "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x ... template) - my solution looks like this: x When we b uild the .csproj the output should look like this: WpfToUwpTestApp.exe appxmanifest.xml ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.10.2016 | 229 0
7

TFS 2015: Adding a new Windows Build Agent

... TFS is now also in the cross-platform business. The build system in TFS 2015 is capable of building a huge range of languages. All you need is a compatible build agent. My (simple) goal was to build a .NET application on a Windows build agent via the new TFS 2015 build system. Step 1: Adding a new build agent Important - Download Agent. This one is maybe the hardest part. Instead of a huge ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
11.08.2016 | 326 1
6

TFS 2015: Adding a new Windows Build Agent

... also in the cross-platform business. The build system in TFS 2015 is capable of building a huge range of languages. All you need is a compatible build agent. My (simple) goal was to build a .NET application on a Windows build agent via the new TFS 2015 build system. Step 1: Adding a new build agent . This one is maybe the hardest part. Instead of a huge TFS-Agent-Installer.msi you need to ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
11.08.2016 | 166 0
7

CAKE: Building solutions with C# & Roslyn

... in C# You can get CAKE via NuGet Before we b egin you might want to check out the actual web site of CAKE Cross Platform support Our goal: Building, ... 1 MSBuild & MSTest 2 MSBuild & NUnit MSBuild & Web .config Transformations “FAKE: Building C# projects without knowing a ... a tiny bit of F#” “FAKE: Build ASP.NET projects with web .config transformation (and without knowing a tiny bit of ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
09.07.2016 | 147 0
7

CAKE: Building solutions with C# & Roslyn

... in C# You can get CAKE via NuGet Before we b egin you might want to check out the actual web site of CAKE Cross Platform support Our goal: Building, ... 1 MSBuild & MSTest 2 MSBuild & NUnit MSBuild & Web .config Transformations “FAKE: Building C# projects without knowing a ... a tiny bit of F#” “FAKE: Build ASP.NET projects with web .config transformation (and without knowing a tiny bit of ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
09.07.2016 | 306 0
6

FAKE: Build ASP.NET projects with web.config transformation (and without knowing a tiny bit of F#)

... ASP.NET and other projects? ... web .debug.config or web .release.config in your ... Web .Config Transformation. With ... ASP.NET project and the ... web .config should cover ... Web .Release.config ?xml version ... Web Deploy-World you would ... web .config transformations only ... web .config transformations. Publish ... ASP.NET project ... Target ... Web Hosted Connect..." !! ... web .config ... web ... web ... web ... web ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
12.06.2016 | 349 0
8

FAKE: Build ASP.NET projects with web.config transformation (and without knowing a tiny bit of F#)

... ASP.NET and other projects? ... web .debug.config or web .release.config in your ... Web .Config Transformation. With ... ASP.NET project and the ... web .config should cover ... Web .Release.config ?xml version ... Web Deploy-World you would ... web .config transformations only ... web .config transformations. Publish ... ASP.NET project ... Target ... Web Hosted Connect..." !! ... web .config ... web ... web ... web ... web ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
12.06.2016 | 121 0
6

Copy to clipboard with Javascript

... not even a flash, // so some of these are just precautions. // // However in IE the element // is visible whilst the popup box asking the user for permission for // the web page to copy to the clipboard. To prevent this, we are using // the detectIE workaround. // Place in top-left corner of screen regardless of scroll position. textArea.style.position 'fixed'; textArea.style.top 0; ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
13.05.2016 | 172 0
6

Copy to clipboard with Javascript

... not even a flash, // so some of these are just precautions. // // However in IE the element // is visible whilst the popup box asking the user for permission for // the web page to copy to the clipboard. To prevent this, we are using // the detectIE workaround. // Place in top-left corner of screen regardless of scroll position. textArea.style.position 'fixed'; textArea.style.top 0; ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
13.05.2016 | 414 0
9

Get the Windows 10 or 8 accent color in WPF

... way is to use the SystemParameters.WindowGlassBrush property that was introduced in .NET 4.5. Sadly, the color is not 100% correct - I have no ... Immersive 'SystemAccent' " accentColor.Color.ToString(); // Available in .NET 4.5 this.SystemProperties.Background SystemParameters.WindowGlassBrush; this.SystemProperties.Text "SystemParameters.WindowGlassBrush " ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
27.04.2016 | 147 0
11

Get the Windows 10 or 8 accent color in WPF

... way is to use the SystemParameters.WindowGlassBrush property that was introduced in .NET 4.5. Sadly, the color is not 100% correct - I have no ... Immersive 'SystemAccent' " accentColor.Color.ToString(); // Available in .NET 4.5 this.SystemProperties.Background SystemParameters.WindowGlassBrush; this.SystemProperties.Text "SystemParameters.WindowGlassBrush " ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
27.04.2016 | 303 0
10

Debugging .NET based Windows Error Reports (WER)

... with the source “.NET Runtime”, then use this first. Windows ... is thrown in your .NET application. Windows Error Report for .NET Apps A typical Windows Error Report ... Outlook.exe for a .NET addin. P2: “1.0.0.0” Version of the ... included in the .NET SDK, which is part of the ... if the actual .NET app is using .NET 4.6 or any other version. “ildasm.exe” ... or any other .NET decompiler (ildasm is not ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
24.03.2016 | 131 0
12345...15