| 

.NET C# Java Javascript Exception

C# Blogs & News

Auf dieser Seite befinden sich alle C# Blogs & News. Weitere Themen findest du mit der Suche rechts oben, z.B. [csharp] .net um alle News zum Thema csharp mit dem Wort ".net" zu finden.

Stelle deine C#-Frage jetzt!
6

C# 7: Tuples

Tuples sind in .NET nicht neu, vielmehr jedoch, wie mit ihnen bisher umgegangen wird. Dieser Beitrag bringt dir das Thema näher. Was sind Tuples? Tuples stellen eine geordnete, nicht veränderbare Liste von Werten dar. Schon vor C# 7.0 gab es Tuples. Hier ein Beispiel dazu: var myTuple1 Tuple.Create string, string ("norbert", "eder"); var myTuple2 new Tuple string, string ...
.net csharp csharp-7 datenstruktur softwareentwicklung tuple valuetuple
15.03.2017 | 25 0 | Norbert Eder
13

Integrate Meetup events on your website

This is a guest post, written by Olivier Giss about integrating Meetup events on your website. Olivier is working as a web developer at algacom AG in Basel and also one of the leads of the .NET User Group Nordwest-Schweiz For two years, I am leading the .NET User Group Nordwest-Schweiz with Jürgen Gutsch that owns this nice blog. After a year, we decided also to use Meetup to get more ...
.net asp.net csharp visual-studio
13.03.2017 | 28 0 | Jürgen Gutsch
9

C# 7: Out Variablen

out -Parameter gibt es in C# schon ewig, die Handhabe war bisher jedoch immer etwas klobig. Mit C# 7 wurden einige Änderungen vorgenommen, die eine einfachere Verwendung ermöglichen. Wenn du nicht so firm mit out -Parametern bist, dann möchte ich dir eine kurze Zusammenfassung im Vorfeld geben: out Paramter veranlassen ein Argument als Referenz übergeben zu werden out ...
.net csharp csharp-7 out parameter softwareentwicklung
10.03.2017 | 33 0 | Norbert Eder
12

Using dependency injection in multiple .NET Core projects

One of my last post was about Dependency Injection (DI) in .NET Core Console Applications. Some days after that post was published, I got a question about how to use the IServiceCollection in multiple projects. In this post I'm going to try to explain, how to use the IServiceCollection in a Solution with more projects. Setup To demonstrate that, I created a Solutions with two .NET ...
.net asp.net csharp visual-studio
06.03.2017 | 40 0 | Jürgen Gutsch
7

ActiveRoute TagHelper

I recently read the pretty cool blog post by Ben Cull about the IsActiveRoute TagHelper: http://benjii.me/2017/01/is-active-route-tag-helper-asp-net-mvc-core/. This TagHelper adds a css class to an element, if the specified route or route parts are in the current active route. This is pretty useful, if you want to highlight an active item in a menu. Inspired by this idea, I ...
.net asp.net csharp visual-studio
03.03.2017 | 42 0 | Jürgen Gutsch
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 | 43 0 | Code-Inside Blog
9

Creating a Word document OutputFormatter in ASP.NET Core

In one of the ASP.NET Core projects we did in the last year, we created an OutputFormatter to provide a Word documents as printable reports via ASP.NET Core Web API. Well, this formatter wasn't done by me, but done by a fellow software developer Jakob Wolf at the yooapps.com. I told him to write about it, but he hadn't enough time to do it yet, so I'm going to do it for him. Maybe you know ...
.net asp.net csharp visual-studio
23.02.2017 | 187 0 | Jürgen Gutsch
13

Create NuGet packages with Cake

This blogpost is a follow up to these Cake (C# Make) related blogpost: Building with Cake Build & run xUnit tests with Cake Scenario Let’s say we have this project structure. The “Config”, “Result” and “Engine” projects contains a corresponding .nuspec, like this: ?xml version "1.0"? package metadata id Sloader.Config /id version version /version title Sloader.Config /title ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
14.02.2017 | 70 0 | Code-Inside Blog
13

BrowserLink causes an error in a new ASP.NET Core web

Using the latest bits of Visual Studio 2017 and the latest SDK of .NET Core, you will possibly get an error while starting your ASP.NET Core Web in Visual Studio 2017 or using dotnet run. In Visual Studio 2017 the browser opens on pressing F5, but with wired HTML code in the address bar. Debugging starts and stops a few seconds later. Using the console you'l get a more meaningful error ...
.net asp.net csharp visual-studio
10.02.2017 | 328 0 | Jürgen Gutsch
8

Using Dependency Injection in .NET Core Console Apps

The Dependency Injection (DI) Container used in ASP.NET Core is not limited to ASP.NET Core. You are able to use it in any kind of .NET Project. This post shows how to use it in an .NET Core Console application. Create a Console Application using the dotnet CLI or Visual Studio 2017. The DI Container is not available by default, bit the IServiceProvider is. If you want to use an Custom or ...
.net asp.net csharp visual-studio
08.02.2017 | 263 0 | Jürgen Gutsch
9

Build & run xUnit tests with Cake

Last year I already covered the basic usage of Cake, which stands for “C# Make”. This time we want to build and run xUnit tests with Cake. Scenario Let’s say we have this project structure. Be aware that all our tests have the suffix “Tests” in the project name. The files are organized like this, so we have all “Tests” in a “tests” folder and the actual code under “src”: ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
08.02.2017 | 97 0 | Code-Inside Blog
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 | 92 0 | Code-Inside Blog
6

DbProviderFactories: Write database agnostic ADO.NET code

Recently I needed to write a module that needs to connect to a wide range of SQL-DBs, e.g. MySQL, MS SQL, Oracle etc. Problem: Most providers will use their concret classes If you look at the C# example on the MySQL dev page you will see the MsSql-Namespace and classes: MySql.Data.MySqlClient.MySqlConnection conn; string myConnectionString; myConnectionString "server ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.12.2016 | 565 0 | Code-Inside Blog
13

Windows 10 IoT Digital I/O Performance, Teil 3

In Teil 1 und 2 dieser Flurfunkserie wurde die Performance von Windows 10 IoT bei der Verarbeitung von Digital I/O Signalen analysiert. Als Fazit wurde festgestellt, dass Windows 10 IoT nicht einmal annähernd die Möglichkeiten der Raspberry Pi Plattform ausreizt. Hier sollen die Lightning Providers für Windows 10 IoT eine erhebliche Verbesserung bringen. Setup der ...
.net allgemein csharp dev iot karriere mobile rasberry-pi sdx universal-platform uwp windows-10
14.12.2016 | 313 1 | SDX Flurfunk
8

A small library to support the CQS pattern.

The last years, I loved to use the Command and Query Segregation pattern. Using this pattern in every new project, requires to have the same infrastructure classes in this projects. This is why I started to create a small and reusable library, which now supports ASP.NET Core and is written to match .NET Standard 1.6. About that CQS The idea behind CQS is to separate the query part (the ...
.net asp.net csharp visual-studio
12.12.2016 | 90 0 | Jürgen Gutsch
10

Contributing to OSS projects on GitHub using fork and upstream

Intro Some days ago, Damien Bowden wrote a pretty cool post about, how to contribute to an open source software project hosted on GitHub, like the AspLabs. He uses Git Extensions in his great and pretty detailed post. Also a nice fact about this post is, that he uses a AspLabs as the demo project. Because we both worked on that on the hackathon at the MVP Summit 2016, together with Glen ...
.net asp.net csharp visual-studio
07.12.2016 | 84 0 | Jürgen Gutsch
8

Enable SSL with custom domains on GitHub Pages via Cloudflare

Two weeks ago I decided (finally!) that I should enable SSL on this blog. Problem: GitHub Pages with a custom domain This blog is hosted on GitHub Pages with a custom domain, which currently doesn’t support SSL out of the box. If you stick with a github.io domain SSL is not a problem. Cloudflare to the rescure I decided to take a deeper look at Cloudflare, which provides DNS, CDN and ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
15.11.2016 | 106 0 | Code-Inside Blog
6

Windows 10 IoT Digital I/O Performance, Teil 2

Im ersten Teil der Serie wurden grundlegende Aspekte der Digital I/O Performance von Windows 10 IoT diskutiert und die rohe Verarbeitungsgeschwindigkeit gemessen. In diesem Teil wird die Fragestellung untersucht, wie schnell Windows 10 IoT auf einem Raspberry Pi 2 oder 3 auf Änderungen eines externen Hardwaresignals reagieren kann. Dies ist beim Einsatz vieler ...
.net allgemein csharp dev iot karriere mobile rasberry-pi sdx universal-platform uwp windows-10
02.11.2016 | 124 0 | SDX Flurfunk
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 | 78 0 | Code-Inside Blog
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 | 134 0 | Code-Inside Blog
10

Lets convert a WPF app to the Universal Windows Platform

Project Centennial - running desktop apps in the UWP world Last year Microsoft revealed the plans to run and distribute desktop apps (basically all apps ever written for Windows) in the Universal-Windows-Platform “universe”. The project titel was “Project Centennial” and a year later the tooling seems to be ok-ish. So, let’s try something simple and convert a simple WPF app to ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.10.2016 | 139 0 | Code-Inside Blog
11

Lets convert a WPF app to the Universal Windows Platform

Project Centennial - running desktop apps in the UWP world Last year Microsoft revealed the plans to run and distribute desktop apps (basically all apps ever written for Windows) in the Universal-Windows-Platform “universe”. The project titel was “Project Centennial” and a year later the tooling seems to be ok-ish. So, let’s try something simple and convert a simple WPF app to ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.10.2016 | 76 0 | Code-Inside Blog
10

Creating a container component in Angular2

In one of the last projects, I needed a shared reusable component, which needs to be extended with additional contents or functionality by the view who uses this component. In our case, it was a kind of a menu bar used by multiple views. (View in this case means routing targets.) Creating such components was easier than expected. I anyway spent almost a whole day to find that solution, ...
.net asp.net csharp visual-studio
28.09.2016 | 100 0 | Jürgen Gutsch
5

Authentication in ASP.​NET Core for your Web API and Angular2

Authentication in a single page application is a bit more special, if you just know the traditional ASP.NET way. To imagine that the app is a completely independent app like a mobile app helps. Token based authentication is the best solution for this kind of apps. In this post I'm going to try to describe a high level overview and to show a simple solution. Intro As written in my last ...
.net asp.net csharp visual-studio
22.09.2016 | 215 0 | Jürgen Gutsch
7

ASP.​NET Core and Angular2 using dotnet CLI and Visual Studio Code

This is another post about ASP.NET Core and Angular2. This time I use a cleaner and more light weight way to host a Angular2 App inside an ASP.NET Core Web. I'm going to use dotnet CLI and Visual Studio Code. A few days ago there was an update for ASP.NET Core announced. This is not a big one, but a important run-time update. You should install it, if you already use ASP.NET Core 1.0. If you ...
.net asp.net csharp visual-studio
19.09.2016 | 184 0 | Jürgen Gutsch
12345...30
RSS-Feed für alle News zum Thema .NET C# Java Javascript Exception

Auf codekicker.news findest Du die besten Blogs und Artikel für Softwareentwickler!
Leseliste

Interessante News gefunden, aber gerade keine Zeit? Klicke auf "Später lesen", um die News in deine Leseliste aufzunehmen.