Displaying 1 to 20 from 24 results

guides - Article back-end for hack.guides() website

  •    

Welcome to the hack.guides() content repository. This repository contains published and unpublished versions of awesome technical guides written by our community. You can browse all the guides right here or head over to our companion site for a more focused reading experience. A community, movement, and website of full of developers with the ambitious goal of educating ourselves and the world.

X.PagedList - Library for easily paging through any IEnumerable/IQueryable in ASP.NET/ASP.NET Core

  •    CSharp

This is fork of Troy's project PagedList(https://github.com/troygoode/PagedList). The main difference is that X.PagedList is a portable assembly. It means you can use it not only in Web projects but also in Winforms, WPF, Window Phone, Silverlight and other .NET projects. PagedList is a library that enables you to easily take an IEnumerable/IQueryable, chop it up into "pages", and grab a specific "page" by an index. PagedList.Mvc allows you to take that "page" and display a pager control that has links like "Previous", "Next", etc.

react-aspnet-boilerplate - A starting point for building isomorphic React applications with ASP

  •    Javascript

A starting point for building universal/isomorphic React applications with ASP.NET Core 1, leveraging existing front-end approaches. Uses the JavaScriptViewEngine. This approach is great for front-end developers because it gives them complete control to build their app as they like. No .NET crutches (bundling/razor). No opinions. No gotchas. Just another typical React client-side application, but with the initial state provided by ASP.NET for each URL.




AspNet.Mvc.Theming - Enables implementing themes for ASP.NET MVC.

  •    CSharp

Enables implementing themes for ASP.NET MVC.Put Theme attribute to your controller to use theme you want.

MvcThrottle - ASP.NET MVC Throttling filter

  •    CSharp

With MvcThrottle you can protect your site from aggressive crawlers, scraping tools or unwanted traffic spikes originated from the same location by limiting the rate of requests that a client from the same IP can make to your site or to specific routes.You can set multiple limits for different scenarios like allowing an IP to make a maximum number of calls per second, per minute, per hour or per day. You can define these limits to address all requests made to your website or you can scope the limits to each Controller, Action or URL, with or without query string params.

aspnetmvc-action-checker - Drop in ASP

  •    CSharp

This is a Drop in ASP.NET MVC Controller and Action that displays any actions that modify resources (HTTP POST, PUT, DELETE, and PATCH) that do not have an Authorize or ValidateAniForgeryToken attributes applied. Add the SystemController file to your ASP.NET MVC project, make sure there's a route that'll reach it, and then visit it in a local instance of your site. It only shows up for localhost requests for security reasons.


RouteMagic - Utility Library to get the most out of ASP.NET Routing.

  •    CSharp

A library of useful extensions to ASP.NET Routing. Use NuGet to install RouteMagic or RouteMagic.Mvc.

AdminLTE-ASP-NET-MVC - ASP.NET MVC version of AdminLTE

  •    CSharp

follow this AdminLTE link for original HTML/JavaScript version. I'm using Visual Studio Community 2015 for the development tools on Windows 10 machine. For this project, i'm using AdminLTE version 2.4.0.

Lib

  •    CSharp

Lib.Web.Mvc is a library which contains some helper classes for ASP.NET MVC such as strongly typed jqGrid helper, attribute and helper providing support for HTTP/2 Server Push with Cache Digest, attribute and helpers providing support for Content Security Policy Level 2, FileResult providing support for Range Requests, action result and helper providing support for XSL transformation and more. Lib.Web.Mvc is available on NuGet.

AspNetSeo - Helpers for handling the SEO-data for ASP.NET web-applications

  •    CSharp

Helpers for handling the SEO-data for ASP.NET web-applications. Provides a SeoHelper-class which is easily accessible in Controllers, Views and through ActionFilterAttributes.

active-directory-dotnet-admin-restricted-scopes-v2 - An ASP

  •    Javascript

Certain actions in the Microsoft ecosystem are considered highly sensitive, such as deleting a user from a company's tenant, changing a user's password, or reading a list of groups in a company. Yet there are many valid reasons why applications need to perform these actions for their customers. For this reason, some permissions are considered admin restricted, and require a tenant administrator to approve their use in applications. This sample application shows how to use the Azure AD v2.0 endpoint to access data in the Microsoft Graph that requires administrative consent. The app is built as an ASP.NET 4.5 MVC application, using the OWIN OpenID Connect middleware to sign-in users and the preview Microsoft Authentication Library (MSAL) to perform token acquisition. It uses an incremental consent pattern, in which it first requests a basic permission that an ordinary user can consent to; the ability to read a list of users in the user's organization. Then, when the user tries to read a list of groups in the user's organization, it asks the administrator for the necessary admin restricted permission. In this way, any Microsoft business user can sign up for the application without contacting their tenant administrator, and the tenant administrator is only involved when absolutely necessary.

active-directory-dotnet-daemon - A Windows console application that calls a web API using its app identity (instead of a user's identity) to get access tokens in an unattended job or process

  •    CSharp

This sample demonstrates a Desktop daemon application calling a ASP.NET Web API that is secured using Azure Active Directory. This scenario is useful for situations where a headless, or unattended job, or process, needs to run as an application identity, instead of as a user's identity. No user interaction is involved.

active-directory-dotnet-daemon-certificate-credential - A

  •    CSharp

The application uses the Active Directory Authentication Library (ADAL) to get a token from Azure AD using the OAuth 2.0 client credential flow, where the client credential is a certificate. In this sample, a Windows console application (TodoListDaemonWithCert) calls a web API (TodoListService) using its app identity. This scenario is useful for situations where headless or unattended job or a windows service needs to run with an application identity, instead of a user's identity.

active-directory-dotnet-native-desktop - A

  •    CSharp

This sample demonstrates a .Net WPF application calling a web API that is secured using Azure AD. Once you've started the TodolistService, you can run the TodoListClient WPF application, click on the sign-in button, and then enter items in a todo list. When you close the application and reopen it, the list is still displayed, as long as the service is running (it maintains the todo list in memory), or until you click on the Clear Cache button. At this point, you'll need to sign in again (and can use another identity). You will manipulate the todo list of the identity you signed-in with.

active-directory-dotnet-webapi-manual-jwt-validation - How to manually process a JWT access token in a web API using the JSON Web Token Handler For the Microsoft

  •    CSharp

This sample demonstrates how to manually process a JWT access token in a web API using the JSON Web Token Handler For the Microsoft .Net Framework 4.5. This sample is equivalent to the NativeClient-DotNet sample, except that, in the TodoListService, instead of using OWIN middleware to process the token, the token is processed manually in application code. The client, which demonstrates how to acquire a token for this protected API, is unchanged from the NativeClient-DotNet sample. When you want to protect a Web API, you request your clients to get a Security token for your API, and you validate it. Usually, for ASP.NET applications this validation is delegated to the OWIN middleware, but you can also validate it yourself, leveraging the System.IdentityModel.Tokens.Jwt library.

active-directory-dotnet-webapi-onbehalfof-ca - A

  •    CSharp

The sample uses the Active Directory Authentication Library (ADAL) in a native client to obtain a token for the user to call the first web service, and also in the first web service to get a token to act on behalf of the user to call the second downstream web API. The downstream web API will have a Conditional Access policy applied that requires Multiple Factors Authentication (MFA). This sample is built on the core active-directory-dotnet-webapi-onbehalfof but adds support for conditional access.

DNTCommon

  •    CSharp

DNTCommon.Web.Core provides common scenarios' solutions for ASP.NET Core 1.1.x and 2.x applications. You can also view the package page on NuGet.