Are you over 18 and want to see adult content?
More Annotations
A complete backup of ovulation.org.ua
Are you over 18 and want to see adult content?
A complete backup of melbournepawnbrokers.com.au
Are you over 18 and want to see adult content?
A complete backup of ringieraxelspringer.pl
Are you over 18 and want to see adult content?
A complete backup of hockeyplayer.com.ar
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of https://balkanje.com/zauvek-zaljubljeni-epizoda-8/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/turske-serije/igra-sudbine-2013/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/turske-serije/page/2/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/latino-serije/vatreno-nebo/
Are you over 18 and want to see adult content?
A complete backup of https://balkanje.com/turske-serije/litar-suza-2018/
Are you over 18 and want to see adult content?
Text
JERRIEPELSER.COM
HOW TO RESTORE A SQL AZURE DATABASE LOCALLY This blog post will take you through the process of creating a backup of a SQL Azure database and restore it to a LocalDB database on your computer using the SqlPackage tool. EMBED SURVEYS IN YOUR ASP.NET CORE APPLICATION WITHSEE MORE ONJERRIEPELSER.COM
ANALYZING .NET CORE PROJECT DEPENDENCIES: FINDING PACKAGE When developing dotnet-outdated I had to find a way to determine the packages referenced by a project. At first, I was using BuildAlyzer, but after a suggestion from a user, I decided to look into using the .NET Core CLI itself to generate a dependency graph.. The dependency graph will indicate all the dependencies for a project that needs to be restored, and also contains useful additional IMPLEMENTING AN OPENIDDICT AUTHORIZATION SERVER: A BASIC OpenIddict is an open source framework for ASP.NET Core which allows you to easily implement an OpenID Connect server. In this blog post series, we will look at how you can implement social login with GitHub in your OpenIddict authorization server and create a simple Angular application which uses the Implicit Flow to authenticate a user. SENDING AN ANTI-FORGERY TOKEN WITH RAZOR PAGES AJAXSEE MORE ONJERRIEPELSER.COM
AUTHENTICATE WITH OAUTH 2.0 IN ASP.NET CORE 2.0 Almost 2 years ago I wrote a blog post about using the generic OAuth provider in ASP.NET Core.A lot has changed since then, so I thought it might be a good time to revisit this. For this blog post, we will create a simple website which allows users to sign in with theirGitHub credentials.
USEFUL CLAIMSPRINCIPAL EXTENSION METHODS I USE IN MYSEE MORE ONJERRIEPELSER.COM
GETTING STARTED WITH BLAZOR To try Blazor out, select the File > New > Project menu, and create an ASP.NET Core Web Application: Next, select the Blazor (ASP.NET Core hosted) template and click OK: This will create a project similar to the one below: Build and run the application, and a browser window will open with your brand new Blazor app: Feel free to play aroundwith
ACCESSING THE REQUEST OBJECT INSIDE A TAG HELPER IN ASP So inside the ConfigureServices method of your Startup class, simple add the following line. services.AddSingleton(); This worked great but it posed a problem for me. This particular Tag Helper would be available as a NuGet package and I did not want to expect users tohave to configure
DISPOSING OF SERVICES WHEN USING DEPENDENCY INJECTION WITHSEE MORE ONJERRIEPELSER.COM
HOW TO RESTORE A SQL AZURE DATABASE LOCALLY This blog post will take you through the process of creating a backup of a SQL Azure database and restore it to a LocalDB database on your computer using the SqlPackage tool. EMBED SURVEYS IN YOUR ASP.NET CORE APPLICATION WITHSEE MORE ONJERRIEPELSER.COM
ANALYZING .NET CORE PROJECT DEPENDENCIES: FINDING PACKAGE When developing dotnet-outdated I had to find a way to determine the packages referenced by a project. At first, I was using BuildAlyzer, but after a suggestion from a user, I decided to look into using the .NET Core CLI itself to generate a dependency graph.. The dependency graph will indicate all the dependencies for a project that needs to be restored, and also contains useful additional IMPLEMENTING AN OPENIDDICT AUTHORIZATION SERVER: A BASIC OpenIddict is an open source framework for ASP.NET Core which allows you to easily implement an OpenID Connect server. In this blog post series, we will look at how you can implement social login with GitHub in your OpenIddict authorization server and create a simple Angular application which uses the Implicit Flow to authenticate a user. SENDING AN ANTI-FORGERY TOKEN WITH RAZOR PAGES AJAXSEE MORE ONJERRIEPELSER.COM
AUTHENTICATE WITH OAUTH 2.0 IN ASP.NET CORE 2.0 Almost 2 years ago I wrote a blog post about using the generic OAuth provider in ASP.NET Core.A lot has changed since then, so I thought it might be a good time to revisit this. For this blog post, we will create a simple website which allows users to sign in with theirGitHub credentials.
USEFUL CLAIMSPRINCIPAL EXTENSION METHODS I USE IN MYSEE MORE ONJERRIEPELSER.COM
GETTING STARTED WITH BLAZOR To try Blazor out, select the File > New > Project menu, and create an ASP.NET Core Web Application: Next, select the Blazor (ASP.NET Core hosted) template and click OK: This will create a project similar to the one below: Build and run the application, and a browser window will open with your brand new Blazor app: Feel free to play aroundwith
ACCESSING THE REQUEST OBJECT INSIDE A TAG HELPER IN ASP So inside the ConfigureServices method of your Startup class, simple add the following line. services.AddSingleton(); This worked great but it posed a problem for me. This particular Tag Helper would be available as a NuGet package and I did not want to expect users tohave to configure
EMBED SURVEYS IN YOUR ASP.NET CORE APPLICATION WITH Adding the SurveyJS library. Next, we can create a new Razor Page to allow a user to complete a survey. To integrate SureyJS into the page, I followed along with the SurveyJS documentation on adding SurveyJS to your web page.. It involves adding an HTML div element to host the survey, as well as including the survey script and bootstrapping the survey. . You can follow along with the IMPLEMENTING AN OPENIDDICT AUTHORIZATION SERVER: A BASIC OpenIddict is an open source framework for ASP.NET Core which allows you to easily implement an OpenID Connect server. In this blog post series, we will look at how you can implement social login with GitHub in your OpenIddict authorization server and create a simple Angular application which uses the Implicit Flow to authenticate a user. ANALYZING .NET CORE PROJECT DEPENDENCIES: FINDING PACKAGE When developing dotnet-outdated I had to find a way to determine the packages referenced by a project. At first, I was using BuildAlyzer, but after a suggestion from a user, I decided to look into using the .NET Core CLI itself to generate a dependency graph.. The dependency graph will indicate all the dependencies for a project that needs to be restored, and also contains useful additional FILTER USER RECORDS USING GLOBAL QUERY FILTERS Introduction. In my last blog post, I demonstrated how you could make use of extension methods to filter EF Core entities belonging to the currently logged-in user.. That technique works great in encapsulating the logic to filter the data, but it still requires developers to call the extension method every time they want to filter data. ADDING PARAMETERS TO THE OPENID CONNECT AUTHORIZATION URL I am busy working on some more samples for ASP.NET Core to demonstrate various techniques people can use Auth0 to authenticate their users. In most of our samples we use the standard OpenID Connect middleware, and one of the things I wanted to do was to pass extra parameters when the request is made to the Authorization endpoint. 3 TECHNIQUES YOU CAN USE TO MAKE YOUR DATA TEMPLATES When would you use a data template selector? My example for using a data template selector is a bit simplistic. This technique would ideally be used when the difference between the various data templates is significant enough that trying to maintain a single data template for the various scenarios does not make sense. ACCESSING THE REQUEST OBJECT INSIDE A TAG HELPER IN ASP Last week I was doing a little experiment which involved writing a Tag Helper. For this Tag Helper I had to access the actual URL for the request, so I therefore had to somehow get a hold of the HttpRequest inside of the Tag Helper.. Injecting IHttpContextAccessor RESOLVE YOUR DBCONTEXT AS AN INTERFACE USING THE ASP.NET 5 For ASP.NET 4.5 I have been using Autofac, but for ASP.NET 5 I am using the built-in dependency injection mechanisms, so in your typical scenario, the registration of your database context and related services will look like this: MANUALLY SUPPLYING CERTIFICATE WHEN VALIDATING RS256 Manually supplying certificate when validating RS256 signed JWT with OWIN. In the Auth0 OWIN Quickstart sample we use a little helper class which will download the JSON Web Key Set (JWKS) for the Auth0 tenant and use that in the IssuerSigningKeyResolver delegate to verify the JWT’s signature. That code looks as follows: Turns out there are 2 APPROACHES WHEN RENDERING A LIST USING THE BOOTSTRAP When rendering out a list of items, the tricky part is that after very 3 items you have rendered, your should close the current row div and open a new one. There are 2 approaches you can follow when doing this in ASP.NET MVC, and I will discuss both below. EMBED SURVEYS IN YOUR ASP.NET CORE APPLICATION WITHSEE MORE ONJERRIEPELSER.COM
DISPOSING OF SERVICES WHEN USING DEPENDENCY INJECTION WITHSEE MORE ONJERRIEPELSER.COM
HOW TO RESTORE A SQL AZURE DATABASE LOCALLY This blog post will take you through the process of creating a backup of a SQL Azure database and restore it to a LocalDB database on your computer using the SqlPackage tool. FILTER USER RECORDS USING GLOBAL QUERY FILTERS USE CONVEYOR TO ACCESS YOUR IIS EXPRESS APP OVER THESEE MORE ONJERRIEPELSER.COM
CREATING AUTHORIZATION POLICIES DYNAMICALLY WITH ASP.NET In the source sample above, the GetAll action will only be authorized if the access token passed in contains a read:messages scope, and the Create action will only be authorized if the access token contains a create:messages scope.. For more information you can also refer to Custom policy-based authorization.. Resolving policies dynamically. With that backgrounder out of the way, we can SENDING AN ANTI-FORGERY TOKEN WITH RAZOR PAGES AJAXSEE MORE ONJERRIEPELSER.COM
USEFUL CLAIMSPRINCIPAL EXTENSION METHODS I USE IN MYSEE MORE ONJERRIEPELSER.COM
USING JSONEXTENSIONDATA WITH JSON.NET ACCESSING THE REQUEST OBJECT INSIDE A TAG HELPER IN ASP So inside the ConfigureServices method of your Startup class, simple add the following line. services.AddSingleton(); This worked great but it posed a problem for me. This particular Tag Helper would be available as a NuGet package and I did not want to expect users tohave to configure
EMBED SURVEYS IN YOUR ASP.NET CORE APPLICATION WITHSEE MORE ONJERRIEPELSER.COM
DISPOSING OF SERVICES WHEN USING DEPENDENCY INJECTION WITHSEE MORE ONJERRIEPELSER.COM
HOW TO RESTORE A SQL AZURE DATABASE LOCALLY This blog post will take you through the process of creating a backup of a SQL Azure database and restore it to a LocalDB database on your computer using the SqlPackage tool. FILTER USER RECORDS USING GLOBAL QUERY FILTERS USE CONVEYOR TO ACCESS YOUR IIS EXPRESS APP OVER THESEE MORE ONJERRIEPELSER.COM
CREATING AUTHORIZATION POLICIES DYNAMICALLY WITH ASP.NET In the source sample above, the GetAll action will only be authorized if the access token passed in contains a read:messages scope, and the Create action will only be authorized if the access token contains a create:messages scope.. For more information you can also refer to Custom policy-based authorization.. Resolving policies dynamically. With that backgrounder out of the way, we can SENDING AN ANTI-FORGERY TOKEN WITH RAZOR PAGES AJAXSEE MORE ONJERRIEPELSER.COM
USEFUL CLAIMSPRINCIPAL EXTENSION METHODS I USE IN MYSEE MORE ONJERRIEPELSER.COM
USING JSONEXTENSIONDATA WITH JSON.NET ACCESSING THE REQUEST OBJECT INSIDE A TAG HELPER IN ASP So inside the ConfigureServices method of your Startup class, simple add the following line. services.AddSingleton(); This worked great but it posed a problem for me. This particular Tag Helper would be available as a NuGet package and I did not want to expect users tohave to configure
CREATING AUTHORIZATION POLICIES DYNAMICALLY WITH ASP.NET In the source sample above, the GetAll action will only be authorized if the access token passed in contains a read:messages scope, and the Create action will only be authorized if the access token contains a create:messages scope.. For more information you can also refer to Custom policy-based authorization.. Resolving policies dynamically. With that backgrounder out of the way, we can FILTER USER RECORDS USING GLOBAL QUERY FILTERS Introduction. In my last blog post, I demonstrated how you could make use of extension methods to filter EF Core entities belonging to the currently logged-in user.. That technique works great in encapsulating the logic to filter the data, but it still requires developers to call the extension method every time they want to filter data. 3 TECHNIQUES YOU CAN USE TO MAKE YOUR DATA TEMPLATES When would you use a data template selector? My example for using a data template selector is a bit simplistic. This technique would ideally be used when the difference between the various data templates is significant enough that trying to maintain a single data template for the various scenarios does not make sense. AUTHENTICATE WITH OAUTH 2.0 IN ASP.NET CORE 2.0 Almost 2 years ago I wrote a blog post about using the generic OAuth provider in ASP.NET Core.A lot has changed since then, so I thought it might be a good time to revisit this. For this blog post, we will create a simple website which allows users to sign in with theirGitHub credentials.
ACCESSING THE REQUEST OBJECT INSIDE A TAG HELPER IN ASP Last week I was doing a little experiment which involved writing a Tag Helper. For this Tag Helper I had to access the actual URL for the request, so I therefore had to somehow get a hold of the HttpRequest inside of the Tag Helper.. Injecting IHttpContextAccessor ANALYZING .NET CORE PROJECT DEPENDENCIES: FINDING PACKAGE When developing dotnet-outdated I had to find a way to determine the packages referenced by a project. At first, I was using BuildAlyzer, but after a suggestion from a user, I decided to look into using the .NET Core CLI itself to generate a dependency graph.. The dependency graph will indicate all the dependencies for a project that needs to be restored, and also contains useful additional GETTING STARTED WITH BLAZOR To try Blazor out, select the File > New > Project menu, and create an ASP.NET Core Web Application: Next, select the Blazor (ASP.NET Core hosted) template and click OK: This will create a project similar to the one below: Build and run the application, and a browser window will open with your brand new Blazor app: Feel free to play aroundwith
USING CONFIGURATION FILES IN .NET CORE UNIT TEST PROJECTS So another thing I came across while converting the Integration tests for the Auth0.NET SDK to .NET Core was that I had to make use of configuration files which specify the settings so the Integration test can talk with Auth0.. Here are some of the basics which got it working for me Add the configuration file ADDING PARAMETERS TO THE OPENID CONNECT AUTHORIZATION URL I am busy working on some more samples for ASP.NET Core to demonstrate various techniques people can use Auth0 to authenticate their users. In most of our samples we use the standard OpenID Connect middleware, and one of the things I wanted to do was to pass extra parameters when the request is made to the Authorization endpoint. RESOLVE YOUR DBCONTEXT AS AN INTERFACE USING THE ASP.NET 5 For ASP.NET 4.5 I have been using Autofac, but for ASP.NET 5 I am using the built-in dependency injection mechanisms, so in your typical scenario, the registration of your database context and related services will look like this: IMPLEMENTING AN OPENIDDICT AUTHORIZATION SERVER: A BASIC OpenIddict is an open source framework for ASP.NET Core which allows you to easily implement an OpenID Connect server. In this blog post series, we will look at how you can implement social login with GitHub in your OpenIddict authorization server and create a simple Angular application which uses the Implicit Flow to authenticate a user. EMBED SURVEYS IN YOUR ASP.NET CORE APPLICATION WITHSEE MORE ON JERRIEPELSER.COMASP NET APPLICATION DEVELOPMENTFREE ASP NET APPLICATIONFREE ASP NET APPLICATIONMY ASP NET APPLICATIONMY ASP NET APPLICATIONASP APPLICATION FEE AUTHENTICATE WITH OAUTH 2.0 IN ASP.NET CORE 2.0 Almost 2 years ago I wrote a blog post about using the generic OAuth provider in ASP.NET Core.A lot has changed since then, so I thought it might be a good time to revisit this. For this blog post, we will create a simple website which allows users to sign in with theirGitHub credentials.
DISPOSING OF SERVICES WHEN USING DEPENDENCY INJECTION WITHSEE MORE ONJERRIEPELSER.COM
SENDING AN ANTI-FORGERY TOKEN WITH RAZOR PAGES AJAXSEE MORE ON JERRIEPELSER.COMJAVASCRIPT IN RAZOR PAGESJAVASCRIPT IN RAZOR PAGES HOW TO RESTORE A SQL AZURE DATABASE LOCALLY This blog post will take you through the process of creating a backup of a SQL Azure database and restore it to a LocalDB database on your computer using the SqlPackage tool. USING VISUAL STUDIO CODE FOR C# (.NET CORE) DEVELOPMENTSEE MORE ON JERRIEPELSER.COMVISUAL STUDIO CODE C# PROJECTVISUAL STUDIO CODE VS VISUAL STUDIO COMMU…VISUAL STUDIO WEBSITE EXAMPLES DESERIALIZING DIFFERENT JSON STRUCTURES TO THE SAME C# When I run the application in debug mode and inspect the apiError1 and apiError2 variables, you can see that they both have the same values, meaning that I was able to successfully deserialize the two different JSON payloads to the same class: RESOLVE YOUR DBCONTEXT AS AN INTERFACE USING THE ASP.NET 5 For ASP.NET 4.5 I have been using Autofac, but for ASP.NET 5 I am using the built-in dependency injection mechanisms, so in your typical scenario, the registration of your database context and related services will look like this: ACCESSING THE REQUEST OBJECT INSIDE A TAG HELPER IN ASP So inside the ConfigureServices method of your Startup class, simple add the following line. services.AddSingleton(); This worked great but it posed a problem for me. This particular Tag Helper would be available as a NuGet package and I did not want to expect users tohave to configure
IMPLEMENTING AN OPENIDDICT AUTHORIZATION SERVER: A BASIC OpenIddict is an open source framework for ASP.NET Core which allows you to easily implement an OpenID Connect server. In this blog post series, we will look at how you can implement social login with GitHub in your OpenIddict authorization server and create a simple Angular application which uses the Implicit Flow to authenticate a user. EMBED SURVEYS IN YOUR ASP.NET CORE APPLICATION WITHSEE MORE ON JERRIEPELSER.COMASP NET APPLICATION DEVELOPMENTFREE ASP NET APPLICATIONFREE ASP NET APPLICATIONMY ASP NET APPLICATIONMY ASP NET APPLICATIONASP APPLICATION FEE AUTHENTICATE WITH OAUTH 2.0 IN ASP.NET CORE 2.0 Almost 2 years ago I wrote a blog post about using the generic OAuth provider in ASP.NET Core.A lot has changed since then, so I thought it might be a good time to revisit this. For this blog post, we will create a simple website which allows users to sign in with theirGitHub credentials.
DISPOSING OF SERVICES WHEN USING DEPENDENCY INJECTION WITHSEE MORE ONJERRIEPELSER.COM
SENDING AN ANTI-FORGERY TOKEN WITH RAZOR PAGES AJAXSEE MORE ON JERRIEPELSER.COMJAVASCRIPT IN RAZOR PAGESJAVASCRIPT IN RAZOR PAGES HOW TO RESTORE A SQL AZURE DATABASE LOCALLY This blog post will take you through the process of creating a backup of a SQL Azure database and restore it to a LocalDB database on your computer using the SqlPackage tool. USING VISUAL STUDIO CODE FOR C# (.NET CORE) DEVELOPMENTSEE MORE ON JERRIEPELSER.COMVISUAL STUDIO CODE C# PROJECTVISUAL STUDIO CODE VS VISUAL STUDIO COMMU…VISUAL STUDIO WEBSITE EXAMPLES DESERIALIZING DIFFERENT JSON STRUCTURES TO THE SAME C# When I run the application in debug mode and inspect the apiError1 and apiError2 variables, you can see that they both have the same values, meaning that I was able to successfully deserialize the two different JSON payloads to the same class: RESOLVE YOUR DBCONTEXT AS AN INTERFACE USING THE ASP.NET 5 For ASP.NET 4.5 I have been using Autofac, but for ASP.NET 5 I am using the built-in dependency injection mechanisms, so in your typical scenario, the registration of your database context and related services will look like this: ACCESSING THE REQUEST OBJECT INSIDE A TAG HELPER IN ASP So inside the ConfigureServices method of your Startup class, simple add the following line. services.AddSingleton(); This worked great but it posed a problem for me. This particular Tag Helper would be available as a NuGet package and I did not want to expect users tohave to configure
EMBED SURVEYS IN YOUR ASP.NET CORE APPLICATION WITH Adding the SurveyJS library. Next, we can create a new Razor Page to allow a user to complete a survey. To integrate SureyJS into the page, I followed along with the SurveyJS documentation on adding SurveyJS to your web page.. It involves adding an HTML div element to host the survey, as well as including the survey script and bootstrapping the survey. . You can follow along with the IMPLEMENTING AN OPENIDDICT AUTHORIZATION SERVER: A BASIC OpenIddict is an open source framework for ASP.NET Core which allows you to easily implement an OpenID Connect server. In this blog post series, we will look at how you can implement social login with GitHub in your OpenIddict authorization server and create a simple Angular application which uses the Implicit Flow to authenticate a user. USEFUL CLAIMSPRINCIPAL EXTENSION METHODS I USE IN MY Other developers can then use one of these extension methods to retrieve a user’s information. var userId = User.GetUserId(); This is especially useful once you start using non-standard claim types. For example, in a multi-tenant environment, I may define a custom claim type to store the ID of the tenant the user is associated with. USE CONVEYOR TO ACCESS YOUR IIS EXPRESS APP OVER THE Introduction. In yesterday’s blog post, I looked at how you can use ngrok to access an ASP.NET Core web application running on your computer from the public internet. This is very useful in situations where you want to test and debug webhooks, for example. One of the issues I mentioned on that blog post was that ngrok changes the public URL for your application every time you restart it. ADDING PARAMETERS TO THE OPENID CONNECT AUTHORIZATION URL I am busy working on some more samples for ASP.NET Core to demonstrate various techniques people can use Auth0 to authenticate their users. In most of our samples we use the standard OpenID Connect middleware, and one of the things I wanted to do was to pass extra parameters when the request is made to the Authorization endpoint. USING CONFIGURATION FILES IN .NET CORE UNIT TEST PROJECTS So another thing I came across while converting the Integration tests for the Auth0.NET SDK to .NET Core was that I had to make use of configuration files which specify the settings so the Integration test can talk with Auth0.. Here are some of the basics which got it working for me Add the configuration file ACCESSING THE REQUEST OBJECT INSIDE A TAG HELPER IN ASP Last week I was doing a little experiment which involved writing a Tag Helper. For this Tag Helper I had to access the actual URL for the request, so I therefore had to somehow get a hold of the HttpRequest inside of the Tag Helper.. Injecting IHttpContextAccessor USING ANSI COLOUR CODES IN .NET CORE CONSOLE APPLICATIONS Using it in a .NET Core console app. Let’s put this in practice with an elementary .NET application. The sample code below writes the escape sequence for red, followed by the text Hello World, and finally the escape sequence to reset the terminal colours. static void Main(string args) { Console.WriteLine("\u001b [31mHello World!\u001b[0m
HANDLING VALIDATION RESPONSES FOR ASP.NET CORE WEB API Now every time I make a call to one of the actions in that controller, and the model validation fails, it will automatically return 400 (Bad Request) response, and the body of the response will contain the errors, for example: MANUALLY SUPPLYING CERTIFICATE WHEN VALIDATING RS256 Manually supplying certificate when validating RS256 signed JWT with OWIN. In the Auth0 OWIN Quickstart sample we use a little helper class which will download the JSON Web Key Set (JWKS) for the Auth0 tenant and use that in the IssuerSigningKeyResolver delegate to verify the JWT’s signature. That code looks as follows: Turns out there are This app works best with JavaScript enabled. Home Blog Tutorials ProjectsHire Me
HI, I'M JERRIE PELSER, A FREELANCE SOFTWARE DEVELOPER AND BLOGGER. I have been doing professional software development for the past 25+ YEARS. Lately, I have been doing web development using ASP.NET CORE and related technologies. Feel free to connect with me on LinkedInand GitHub
.
Home Blog Tutorials ProjectsHire Me
Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0