Giter VIP home page Giter VIP logo

aspnetinterop's Introduction

Integrating ASP.NET Core and ASP.NET 4.X

The goal of this project is sharing the same cookie between two applications using ASP.NET Core 1.1 and ASP.NET MVC 5

##Nuget Packages

##Disclaimer: This is a sample application using some beta/pre-release versions (including ASP.NET Core 1.1)

  • NOT intended to be a definitive solution
  • Beware to use in production way

##References This project is an improvement of the blowdart/idunno.CookieSharing project. The improvements is:

  • Using ASP.NET Identity
  • Using Authorization filters with claims in both applications
  • Sharing the Cookie in AntiForgery
  • Entities CRUD's for better demonstration of concerns
  • Integrated navigation so users do not feel the difference

===================== The AspNetInterop was developed by Eduardo Pires under the MIT license.

aspnetinterop's People

Contributors

eduardopires avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aspnetinterop's Issues

GetClientCertificateAsync

Olá ,
desenvolvi uma api. que na controller preciso ler os dados do certificado do cliente anexado a requisição.
no meu computador em modo de desenvolvimento, faço as requisicoes e ao debugar eu recebo o objeto certificado
corretamente quando executo
X509Certificate2 cert = await HttpContext.Connection.GetClientCertificateAsync();

  • Porém algumas coisas estranhas acontecem....
    se eu anexar outros certificados .pfx (válidos) em alguns recebo Null no objeto cert, outros recebo corretamente,
    não entendi o pq de alguns lêem e outros não
    (conferi se eles não estavão vencidos, ou sem as cadeias de certificado, aparentemente tudo certo).

  • e que está mais pegando é quando eu publico isso no meu servidor, dai para de vez...
    em todas as requisições o objeto cert vem como Null...
    (é um servidor linux centos com nginx).

é alguma configuração extra que tenho que fazer, ou algum outro detalhe que estou deixando passar,
gostaria de saber se alguem pode me dar uma luz, nessa questão....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.