| 

.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

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 | 56 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 | 113 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 | 104 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 | 84 0
9

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 | 425 0
8

XML Autocompletion with AvalonEdit

AvalonEdit AvalonEdit is a text editor WPF control, used and created by the SharpDevelop team. It comes with some nice features, like code folding support, text highlighting and infrastructure for advanced features like autocompletion. Read more about AvalonEdit on the offical site. To install AvalonEdit, just create a WPF project and install the AvalonEdit NuGet package. ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
13.03.2016 | 166 0
10

Parsing XML Schemas in .NET

XML Schemas XML can be very verbose and seems to be old-fashioned, but the good part around XML is, that there is a hugh pile of standardized mechanics around it. To query XML documents you can use XPath, for transforming XSLT and for validation XML Schemas or in short a “XSD” (XML Schema Definition). Parsing the XSD Tree A XSD is just a XML document itself that describes the your valid ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
06.03.2016 | 121 0
10

Using FontAwesome in UWP apps

FontAwesome in WPF and Fonts in UWP I blogged about how to use FontAwesome in WPF last year and wrote a short blogpost about the nice FontIcon class in UWP. With the help of the FontIcon class I could include the FontAwesome glyphs, but working with the unicodes is not very dev friendly. Bringing FontAwesome.WPF to the UWP universe - OSS rocks! The goal was pretty clear: I would like to ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
06.03.2016 | 228 0
12

Using Travis CI for GitHub Pages builds

... by GitHub Pages, which uses Jekyll in the background. Jekyll is a static web site generator, which means that this page is “build” and has no server-side rendering logic when you hit the page - it’s pure static HTML, CSS and JS. You could run Jekyll on your local box and publish the ... over to GitHub - at this stage it is just a “safety net ”. If you want to publish from Travis CI, there are many ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
04.03.2016 | 277 0
4

Pretty Print XML in .NET

... You might want to get this: Foo Bar Buzz /Buzz /Bar /Foo Many editors support this feature - but we want to do it in code. Pretty Print XML with .NET The code is really simple, because XDocument does the heavy lifting for us. var xDocument XDocument.Parse(input); string formattedXml xDocument.ToString(); // Force XML Declaration if present if (xDocument.Declaration ! null) { ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
28.02.2016 | 130 0
7

ExpensiveMeeting - a Universal Windows Platform OSS app using Template10

ExpensiveMeeting The app - which is just a fun project and shouldn’t be taken too seriously - is like a stopwatch for meetings. But instead of the pure time it shows you also the burned money for your meeting, because time is money, right? x Don’t worry: The app is free and no ads are shown. Windows Store Download Behind the scenes: Universal Windows Platfrom (UWP) The app itself is a UWP ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
28.02.2016 | 108 0
9

Shipping Visual C++ 2015 redistributable DLLs with your app or how to do an app-local deployment

Small warning: I’m not a C dev We use VC just for a very small part of our application, but this part needs the VC 2015 runtime “installed” on the client, but we don’t want the UAC install dialog. So - let’s take a look how we can solve this problem. And if I write something stupid here - please let me know. Ways to deploy VC 2015 There are three ways to deploy the runtime: Install it via the ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
23.02.2016 | 126 0
7

Working with FontIcons in UWP

FontIcons in UWP Microsoft ships one builtin UWP (Universal Windows Platform) SymbolIcon class. The good thing about such FontIcons is, that you can scale and change the appearances very nice and don’t need a bunch of image assets for your icons. The down side is, that those icons are just a font… so no multicolor option. The builtin SymbolIcon usage is pretty easy: SymbolIcon ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.01.2016 | 262 0
10

Serving embedded resources with ASP.NET WebApi

... In a normal Web -Application all files ... which a selfhosting Web API and two ... “target” html and css file are marked ... is hosted in IIS if (virtualPathRoot ! ... “PageController” and normal Web API Controllers In ... page. Hosting in IIS If you host this inside an IIS it will not ... the IIS itself tries to ... your web .config: !-- prevent IIS from serving embeddded ... web .config setting in ... Web API returns the ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.12.2015 | 550 0
3

Working with JumpLists in WPF Apps

... common functionality. A real world example: x JumpLists with .NET In pre .NET 4.0 times there was a Windows7API Code Pack available to access the ... Windows and many older blogposts reference it, but since .NET 4.0 is out the JumpList APIs are part of the ... for everyone that still have to support Windows Vista: .NET 4.0 is supported on Windows Vista, but the JumpLists were introduced with ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.12.2015 | 205 0
10

XML deserialize to abstract class, interface or base class

Let’s assume we have the following XML structure: ?xml version "1.0" encoding "utf-8" ? Root Node Label Id "Label1" Betreff /Label TextBox Id "TextBox1" MultiLines "3" / /Node Node Label Id "Label2" Betreff 123132 /Label TextBox Id "TextBox2" / Button Id "Button1" Label "Hello World" Action "Foobar" / /Node /Root Under we have n--elements and each element has a couple of ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
25.10.2015 | 287 0
7

Nothing to do next weekend? Come to Leipzig and join the Developer Open Space 2015

... Open Spaces spread to all different kinds of technology - from fancy Web , to DevOps, Functional Programming, IoT etc. But it is not just technology: ... will find your audience ;) Sounds good, right? Just visit the official web site for more information. I will be there from Saturday to Sunday ... part of this “conference” Location: Leipzig, Germany Date: 16.10 - 18.10.2015 Official Web
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
15.10.2015 | 175 0
7

WPF, Chrome Embedded and WebApi Self-hosted

... are more a “web guy” (like myself) ... code from your Web -App and want ... stick to your .NET know-how this blogpost ... any issues with Javascript there are other ... an existing large .NET code base not ... So, back to .NET land and the ... stuff, WPF controls, web stuff… yeah! Building ... with the ASP.NET Web Api - ... Javascript object inside the ... from Javascript or the other ... Javascript object User fills ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
30.09.2015 | 330 0
4

FAKE: Running MSTest Tests with FAKE without knowing a tiny bit of F#

This is a follow-up to my xUnit FAKE post “FAKE: Running xUnit Tests with FAKE without knowing a tiny bit of F#”. Running MSTests with FAKE Running MSTests is not a big difference to run xUnit tests. The biggest difference: You don’t need to pull a test runner via NuGet, because the typical Visual Studio installation will ship with the MSTest runner. MSTest Test Project The actual ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.08.2015 | 242 0
6

Reg.exe or how to import .reg files without admin privileges

... on HKEY_CURRENT_CONFIG So, if I want to write a key under the HKEY_CURRENT_USER with a normal user account it should be possible, but how? Solution 1: Via Code Code something via the Registry-APIs in .NET (or any other language…) and it should work, without messing around with admin stuff or turning off the UAC, which is a really stupid idea. Solution 2: Via reg.exe Create a .reg file ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
12.08.2015 | 361 0
6

HowTo: Write to Azure Blob Storage

... text to Azure Storage All you need is the Microsoft.WindowsAzure.Storage NuGet Package (well… there is also a REST API available, but in the .NET land, this is much easier). CloudStorageAccount storageAccount CloudStorageAccount.Parse(ConfigurationManager.ConnectionStrings["storage"].ConnectionString); // Create the blob client. CloudBlobClient blobClient ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
06.08.2015 | 222 0
14

Semantic Versioning in a nutshell

I made a short tweet today and it seems I hit a nerve: Instead of Major.Minor.Patch say Breaking.Feature.Bugfix - that's #SemVer in a nutshell. — Robert Muehsig (@robert0muehsig) 21. Juli 2015 Because I like blogging I decided to write a small blogpost about SemVer. Why Semantic Versioning (SemVer) In our industry we use version numbers a lot. The typical naming is ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
22.07.2015 | 320 0
8

Using PCLs in ASP.NET

... Version 4.0.0.0, Culture neutral, PublicKeyToken b03f5f7f11d50a3a’. Fix: Put this Assembly-Reference in the web .config: compilation debug "true" targetFramework "4.5" assemblies add assembly "System.Runtime, Version 4.0.0.0, ... when you are using Portable Class Libraries (PCLs) inside ASP.NET Projects. This Blogpost provides a pretty good answer. In short: It’s an ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
14.07.2015 | 238 0
4

FAKE: Create NuGet Packages without knowing a tiny bit of F#

This is a follow-up to my first two FAKE posts: “FAKE: Building C# projects without knowing a tiny bit of F#” “FAKE: Running xUnit Tests with FAKE without knowing a tiny bit of F#” Creating NuGet Packages - with a NuSpec FAKE has at least two approaches to build NuGet Packages. The first approach is that you define a NuSpec-Template and fill the missing pieces during the build via FAKE. ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
22.06.2015 | 324 0
12

Create and read NuGet Packages via Code

The typical use cases for NuGet may involve the NuGet Client inside Visual Studio or the NuGet.exe, but of course you can use the same functionality via code. NuGet - as a package format - can be used for many different things, for example Chocolatey and Squirrel are using NuGet to distribute and update software. Getting started with the NuGet API All you need is the NuGet.Core ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
03.06.2015 | 336 0
12345...13