Microsoft Docs – Últimos Artigos
Como a nova base da documentação técnica da Microsoft, o docs.microsoft.com não só modernizou a experiência Web para conteúdo, mas também o modo como criamos e damos suporte ao conteúdo que você usa para aprender, gerenciar e implantar soluções. É a escolha certa para tudo relacionado às tecnologias da Microsoft. Para garantir que fique por dentro de todas as novidades do docs.microsoft.com, criamos um feed dedicado para você.
Selected Feed: ASP.NET
Reading form fields after submit (POST) in Blazor Server? - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1165064/reading-form-fields-after-submit-(post)-in-blazor I have a login form in Blazor Server App and use POST to send login data (email and password). How can I access the form fields email and password within Blazor Server? It doesn't work with binding, the binding variables are empty after submit POST call. I have also tried using JavaScript by going to the input element, but that doesn't work either. Here by Javascript I get the error message: Cannot read properties of null (reading 'value') I think that at the time I read the form field, the value was not transmitted to the server and therefore I get zero. One possibility would be that I also save the password as a cookie and then read the user password entry via cookie at any time, but I would like to prevent that. Can someone please help me here? ThanksPublished Date : domingo, 29 de janeiro de 2023
how to handle exception with customized error message in json format in webapi in c# - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1165018/how-to-handle-exception-with-customized-error-mess how to handle exception with customized error message in json format in webapi in c# also my webapi calling different one drive api like delete file , download file etc and my webapi return type like IActionResult and jsonstring Any body can helpPublished Date : sábado, 28 de janeiro de 2023
Implementação do servidor Web Kestrel no ASP.NET Core
https://learn.microsoft.com/pt-br/aspnet/core/fundamentals/servers/kestrel Saiba mais sobre Kestrelo , o servidor Web multiplataforma para ASP.NET Core.Published Date : sábado, 28 de janeiro de 2023
Blazor ASP.NET Core registro em log
https://learn.microsoft.com/pt-br/aspnet/core/blazor/fundamentals/logging Saiba mais sobre como fazer logon em Blazor aplicativos, incluindo configuração e como gravar mensagens de log de Razor componentes.Published Date : sábado, 28 de janeiro de 2023
Blazor inicialização ASP.NET Core
https://learn.microsoft.com/pt-br/aspnet/core/blazor/fundamentals/startup Saiba como configurar Blazor a inicialização.Published Date : sábado, 28 de janeiro de 2023
Migrar do ASP.NET para o ASP.NET Core
https://learn.microsoft.com/pt-br/aspnet/core/migration/proper-to-2x/ Receba orientações para migrar os aplicativos existentes do ASP.NET MVC ou da API Web para o ASP.NET Core.webPublished Date : sábado, 28 de janeiro de 2023
Roteamento no ASP.NET Core
https://learn.microsoft.com/pt-br/aspnet/core/fundamentals/routing Descubra como ASP.NET Core roteamento é responsável por corresponder solicitações HTTP e expedir para pontos de extremidade executáveis.Published Date : sábado, 28 de janeiro de 2023
Blazor ASP.NET Core roteamento e navegação
https://learn.microsoft.com/pt-br/aspnet/core/blazor/fundamentals/routing Saiba como gerenciar o roteamento de solicitações em Blazor aplicativos e como usar o Gerenciador de Navegação e o componente NavLink para navegação.Published Date : sábado, 28 de janeiro de 2023
Blazor Hybrid ASP.NET Core roteamento e navegação
https://learn.microsoft.com/pt-br/aspnet/core/blazor/hybrid/routing Saiba como gerenciar o roteamento de solicitações e a navegação em Blazor Hybrid aplicativos.Published Date : sábado, 28 de janeiro de 2023
Registro em log e diagnóstico em Kestrel
https://learn.microsoft.com/pt-br/aspnet/core/fundamentals/servers/kestrel/diagnostics Saiba como coletar diagnósticos de Kestrel.Published Date : sábado, 28 de janeiro de 2023
Configurar opções para o servidor Web ASP.NET Core Kestrel
https://learn.microsoft.com/pt-br/aspnet/core/fundamentals/servers/kestrel/options Saiba mais sobre como configurar opções para Kestrelo , o servidor Web multiplataforma para ASP.NET Core.Published Date : sábado, 28 de janeiro de 2023
Testar Razor componentes no ASP.NET Core Blazor
https://learn.microsoft.com/pt-br/aspnet/core/blazor/test Saiba como testar Razor componentes em Blazor aplicativos.Published Date : sábado, 28 de janeiro de 2023
Parte 8, Razor Páginas com EF Core em ASP.NET Core – Simultaneidade
https://learn.microsoft.com/pt-br/aspnet/core/data/ef-rp/concurrency Parte 8 das Razor páginas e da série de tutoriais da Estrutura de Entidades.Published Date : sábado, 28 de janeiro de 2023
Downgrade ASP.NET Core app from .NET 6.0 to .NET Core 3.1 - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1012059/downgrade-asp-net-core-app-from-net-6-0-to-net-cor I have made an ASP.NET Core web application, using .NET 6.0. However, when I obtained a hosting server, I learnt that my hosting provider has installed .NET 5.0. As a result, I now have to downgrade my project from .NET 6.0 to a previous version. However, I am facing issues while doing so. When I try to build the project, I run into errors, due to which I have to change syntaxes in system-generated files, such as Program.cs and Startup.cs. Then, I also face trouble updating the NuGet packages and once done, I run into errors while trying to run the Update-Database command. I would like to know the required steps to downgrade my project, in a slightly detailed manner, since I am an amateur in using .NET Core. My project is a Razor pages project and has Identity installed, with a few modifications, such as additional fields. How should I proceed? Thanks in advance.Published Date : sábado, 28 de janeiro de 2023
Trabalhar com vários contêineres usando o Docker Compose - Visual Studio (Windows)
https://learn.microsoft.com/pt-br/visualstudio/containers/tutorial-multicontainer Saiba como usar vários contêineres com o Docker ComposePublished Date : sexta-feira, 27 de janeiro de 2023
Determinar sua estratégia de aplicativo federado no parceiro de recurso
https://learn.microsoft.com/pt-br/windows-server/identity/ad-fs/design/determine-your-federated-application-strategy-in-the-resource-partner Saiba mais sobre: Determinar sua estratégia de aplicativo federado no Parceiro de RecursosPublished Date : sexta-feira, 27 de janeiro de 2023
Aplicativo Web MSAL do AD FS (aplicativo de servidor) chamando APIs Web
https://learn.microsoft.com/pt-br/windows-server/identity/ad-fs/development/msal/adfs-msal-web-app-web-api Saiba como criar usuários de entrada de aplicativo Web autenticados pelo AD FS 2019.Published Date : sexta-feira, 27 de janeiro de 2023
Cenário de delegação de identidade com o AD FS
https://learn.microsoft.com/pt-br/windows-server/identity/ad-fs/development/ad-fs-identity-delegation Esse cenário descreve um aplicativo que precisa acessar recursos de back-end que exigem que a cadeia de delegação de identidade execute verificações de controle de acesso.Published Date : sexta-feira, 27 de janeiro de 2023
Criar um aplicativo Web de página única usando OAuth e ADAL.JS com o AD FS 2016 ou posterior
https://learn.microsoft.com/pt-br/windows-server/identity/ad-fs/development/single-page-application-with-ad-fs Um passo a passo que fornece instruções para autenticação no AD FS usando a ADAL para JavaScript protegendo um aplicativo de página única baseado em AngularJSPublished Date : sexta-feira, 27 de janeiro de 2023
Implantando servidores de federação
https://learn.microsoft.com/pt-br/windows-server/identity/ad-fs/deployment/deploying-federation-servers Saiba mais sobre: Implantando servidores de federaçãoPublished Date : sexta-feira, 27 de janeiro de 2023
Criar um aplicativo do lado do servidor que usa clientes confidenciais OAuth usando Serviços de Federação do Active Directory (AD FS) 2016 ou posterior
https://learn.microsoft.com/pt-br/windows-server/identity/ad-fs/development/enabling-oauth-confidential-clients-with-ad-fs Crie um aplicativo do lado do servidor que usa clientes confidenciais OAuth. Use o AD FS 2016 ou posterior.Published Date : sexta-feira, 27 de janeiro de 2023
Configurar o ambiente de laboratório para o AD FS no Windows Server 2012 R2
https://learn.microsoft.com/pt-br/windows-server/identity/ad-fs/deployment/set-up-the-lab-environment-for-ad-fs-in-windows-server-2012-r2 Saiba mais sobre: Configurar o ambiente de laboratório para o AD FS no Windows Server 2012 R2Published Date : sexta-feira, 27 de janeiro de 2023
Configurar um ambiente de laboratório do AD FS
https://learn.microsoft.com/pt-br/windows-server/identity/ad-fs/operations/set-up-an-ad-fs-lab-environment Saiba mais sobre: Configurar um ambiente de laboratório do AD FSPublished Date : sexta-feira, 27 de janeiro de 2023
Criar um aplicativo de várias camadas usando OBO (On-Behalf-Of) usando o OAuth com o AD FS 2016 ou posterior
https://learn.microsoft.com/pt-br/windows-server/identity/ad-fs/development/ad-fs-on-behalf-of-authentication-in-windows-server Saiba mais sobre: Criar um aplicativo de várias camadas usando o OBO (On-Behalf-Of) usando o OAuth com o AD FS 2016 ou posteriorPublished Date : sexta-feira, 27 de janeiro de 2023
Reparo de superfície por provedores de serviço autorizados Microsoft - Surface
https://learn.microsoft.com/pt-br/surface/authorized-service-providers Este artigo descreve como os ASPs (provedores de serviços autorizados) trabalham em estreita colaboração com Microsoft para ajudar a resolver problemas que podem ocorrer com seus dispositivos Microsoft.Published Date : sexta-feira, 27 de janeiro de 2023
Referência de variáveis de ambiente e configurações de aplicativo - Azure App Service
https://learn.microsoft.com/pt-br/azure/app-service/reference-app-settings Descreve as variáveis de ambiente usadas com frequência e quais podem ser modificadas com configurações do aplicativo.Published Date : sexta-feira, 27 de janeiro de 2023
Arquivar as Novidades no Azure Active Directory? - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/fundamentals/whats-new-archive As notas sobre a versão Novidades na seção Visão geral deste conjunto de conteúdo contêm seis meses de atividade. Após seis meses, os itens são removidos do artigo principal e colocados neste artigo de arquivos.Published Date : sexta-feira, 27 de janeiro de 2023
When entering a "T" in an asp.net multi-line text box, only one <Shift> key event is caught by the onkeydown event handler of the text box. - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1164955/when-entering-a-t-in-an-asp-net-multi-line-text-bo In an ASP.NET writable multiline text box, when a "T" is entered, only a <Shift> key keydown event is caught by the text box's onkeydown event handler, and the "T" never shows up. This is running in Microsoft Edge browser. Web site is started in Visual Studio 2010.Published Date : sexta-feira, 27 de janeiro de 2023
Implantar ASP.NET Core aplicativo no Linux, Docker & ACR (Clássico) - Azure Pipelines
https://learn.microsoft.com/pt-br/azure/devops/pipelines/apps/cd/azure/aspnet-core-to-acr Configurar um build de CI para seu aplicativo ASP.NET Core para Linux Serviço de Aplicativo usando Azure PipelinesPublished Date : sexta-feira, 27 de janeiro de 2023
Implantar um aplicativo do Serviço de Nuvem do ASP.NET (Clássico) - Azure Pipelines
https://learn.microsoft.com/pt-br/azure/devops/pipelines/apps/cd/deploy-cloudservice-cloudservice Exemplo de implantação de um pacote de serviços de nuvem do Azure no Azure PipelinesPublished Date : sexta-feira, 27 de janeiro de 2023
Criar seu Serviço de Nuvem do Azure - Azure Pipelines
https://learn.microsoft.com/pt-br/azure/devops/pipelines/apps/aspnet/build-aspnet-cloudservice Definir um build de CI (integração contínua) para o Serviço de Nuvem do Azure no Azure Pipelines ou no TFS (Team Foundation Server)Published Date : sexta-feira, 27 de janeiro de 2023
Sodium.js error - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1164920/sodium-js-error Does anyone know what is sodium.js and what is this error means? This error started showing in my asp.net MVC app. I have autocomplete on my text field which uses json call which queries database and I've noticed that even the autocomplete works, autocomplete entries appear slowly.Published Date : sexta-feira, 27 de janeiro de 2023
Alterações interruptivas no .NET 8 - .NET
https://learn.microsoft.com/pt-br/dotnet/core/compatibility/8.0 Navegue até as alterações interruptivas no .NET 8.Published Date : sexta-feira, 27 de janeiro de 2023
gRPC
https://learn.microsoft.com/pt-br/dotnet/architecture/cloud-native/grpc Saiba mais sobre gRPC, sua função em aplicativos nativos de nuvem e como ele difere da comunicação HTTP RESTful.Published Date : sexta-feira, 27 de janeiro de 2023
Executando o software antivírus do Windows em servidores do Exchange
https://learn.microsoft.com/pt-br/exchange/antispam-and-antimalware/windows-antivirus-software Como executar programas antivírus do Windows efetivamente em servidores do Microsoft ExchangePublished Date : sexta-feira, 27 de janeiro de 2023
Conector CSV para pesquisa de Microsoft
https://learn.microsoft.com/pt-br/microsoftsearch/csv-connector Configure o conector CSV de pesquisa Microsoft para fontes do SharePoint ou Azure Data Lake Storage.Published Date : sexta-feira, 27 de janeiro de 2023
Instalação do BHOLD Core
https://learn.microsoft.com/pt-br/microsoft-identity-manager/bhold/bhold-core-installation Documento principal de instalação do BHOLD SuitePublished Date : sexta-feira, 27 de janeiro de 2023
Referência XML de configuração de exibição de controle de recurso
https://learn.microsoft.com/pt-br/microsoft-identity-manager/reference/rcd-configuration-xml-reference Usando o RCDC para controlar como os recursos do MIM aparecem na interface do usuário.Published Date : sexta-feira, 27 de janeiro de 2023
Unable to Resolve Scaffolding Issue in ASP.NET Core MVC Application - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1163991/unable-to-resolve-scaffolding-issue-in-asp-net-cor I'm getting the following error when I try to scaffold the Login, Logout, and Register pages. I ran the Visual Studio Installer to and clicked on the ASP.NET web development workflow to ensure I have all of the required tools installed. Version information is below. The error message isn't very helpful. I searched online, but couldn't find an issue like mine. Any help would be very much appreciated. Thanks!Published Date : sexta-feira, 27 de janeiro de 2023
Configurar aplicativos de API Web protegidos - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/scenario-protected-web-api-app-configuration Saiba como criar uma API Web protegida e configurar o código do aplicativo.Published Date : sexta-feira, 27 de janeiro de 2023
Obter um token em uma API Web que chama APIs Web - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/scenario-web-app-call-api-acquire-token Saiba como adquirir um token para um aplicativo Web que chama APIs WebPublished Date : sexta-feira, 27 de janeiro de 2023
Verificar escopos e funções de aplicativo protegidos por API Web - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/scenario-protected-web-api-verification-scope-app-roles Verifique se a API é chamada apenas por aplicativos em nome de usuários que têm os escopos corretos e por aplicativos daemon que têm as funções de aplicativo corretas.Published Date : sexta-feira, 27 de janeiro de 2023
Configurar um aplicativo Web que conecta usuários - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/scenario-web-app-sign-user-app-configuration Saiba como criar um aplicativo Web que registra usuários (configuração de código)Published Date : sexta-feira, 27 de janeiro de 2023
Configurar uma API Web que chama APIs Web - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/scenario-web-app-call-api-app-configuration Saiba como configurar o código de um aplicativo Web que chama APIs WebPublished Date : sexta-feira, 27 de janeiro de 2023
Mover uma API Web protegida para produção - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/scenario-protected-web-api-production Saiba como criar uma API Web protegida (mover para produção).Published Date : sexta-feira, 27 de janeiro de 2023
Mover para produção um aplicativo Web que chama APIs da Web - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/scenario-web-app-call-api-production Saiba como mover um aplicativo Web que chama APIs Web.Published Date : sexta-feira, 27 de janeiro de 2023
Mover API da Web chamando APIs Web para produção - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/scenario-web-api-call-api-production Saiba como mover uma API da Web que chama APIs da Web para produção.Published Date : sexta-feira, 27 de janeiro de 2023
Como usar APIs habilitadas para a Avaliação contínua de acesso em seus aplicativos - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/app-resilience-continuous-access-evaluation Como aumentar a segurança e a resiliência do aplicativo adicionando suporte para Avaliação contínua de acesso, habilitando tokens de acesso de vida longa que podem ser revogados com base em eventos críticos e na avaliação da política.Published Date : sexta-feira, 27 de janeiro de 2023
Adicionar funções de aplicativo e obtê-las de um token - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/howto-add-app-roles-in-azure-ad-apps Saiba como adicionar funções de aplicativos a um aplicativo registrado no Azure Active Directory. Atribua usuários e grupos a essas funções e receba-os na declaração 'roles' no token.Published Date : sexta-feira, 27 de janeiro de 2023
Tokens de acesso da plataforma de identidade da Microsoft - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/access-tokens Saiba mais sobre os tokens de acesso emitidos pelos pontos de extremidade do Azure AD v 1.0 e da plataforma de identidade da Microsoft (v 2.0).Published Date : sexta-feira, 27 de janeiro de 2023
How to use Service Principal/Managed Identities to access Azure App Configuration from .NET Framework Application? - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1160215/how-to-use-service-principal-managed-identities-to I need to disable Local Authentication Methods (Access Keys) for Azure App Configuration Stores. Currently for an ASP.NET Framework application, I am using the following for accessing the App Configuration Store from my application: Here the value of Now in order to access the App Configuration through the ASP.NET application, I created a Service Principal, generated a secret to use. I have stored the CLIENT_ID, TENANT_ID and CLIENT_SECRET values. I have also assigned the App Configuration Data Reader role to the Service Principal. I also have a managed identity which I can use. Now what change do I need to make at the application side in order to access the App Configuration through the ASP.NET Framework application?Published Date : sexta-feira, 27 de janeiro de 2023
How to setup Vnet integration between ASP.NET 4.8 Azure Service V3 app and SQL Managed Instance? - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1161669/how-to-setup-vnet-integration-between-asp-net-4-8 I just created a simple ASP.NET Web Forms app to Azure Service - Premium V3 plan. This app runs fine as long it does not access our database in SQL Managed Instance (MI). When trying to access the database (a simple SQL SELECT statement in the global.asax.ca page) I get the error below. I read: But it is not clear to me if I should created a new Vnet for this new web app, or (if using the same VNet as our SQL MI) how to configure the app to the SQL MI subnet. Any suggestions would be appreciated. Thanks, Jan P.S. When using apps in the older App Service Plans, we could setup VNet integration using the Gateway Subnet option. This does not work in V3 app service plan. Plus it looks like it is being deprecated. This is the warning message I see: The selected virtual network is located in the same region as your app and can therefore use regional integration which does not require a gateway. Portal support for configuring point-to-site integration within a region will be removed by the end of 2022. P.P.S. Details for the SQL MI access error: An attempt was made to access a socket in a way forbidden by its access permissions Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ComponentModel.Win32Exception: An attempt was made to access a socket in a way forbidden by its access permissions Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: |[Win32Exception (0x80004005): An attempt was made to access a socket in a way forbidden by its access permissions] [SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - An attempt was made to access a socket in a way forbidden by its access permissions.)] System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) +947 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +342 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +38 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +514 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +91 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +438 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +79 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +201 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions) +156 System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions) +22 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource1 retry) +92 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource1 retry) +219 System.Data.SqlClient.SqlConnection.Open() +101 WebFormsApp.Global.GetNumLmsClients() in D:\Projects\WebFormsTestApp\WebFormsApp\Global.asax.cs:33 WebFormsApp.Global.Application_Start(Object sender, EventArgs e) in D:\Projects\WebFormsTestApp\WebFormsApp\Global.asax.cs:21 [HttpException (0x80004005): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - An attempt was made to access a socket in a way forbidden by its access permissions.)] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +10107679 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +123 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +181 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +228 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +314 [HttpException (0x80004005): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - An attempt was made to access a socket in a way forbidden by its access permissions.)] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10087920 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +99 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +263|Published Date : sexta-feira, 27 de janeiro de 2023
How to change value of input field in a strongly-typed view from controller - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1164775/how-to-change-value-of-input-field-in-a-strongly-t Hello I am using ASP.NET Core 3.1 How can I change the value of the input fields in a strongly-typed view from controller. I have this simple example. I have three input fields and when the usee enters some values and submit them, I modify the values the object eee.EmpID = "5555"; eee.Name = "ABC"; eee.Address = "XYZ"; and return it back to the view. BUT I found the fields values have not changed and they have still the same user values. How can I change the value displayed in the input fields in the view from controller? what is missing? Sample code:Published Date : sexta-feira, 27 de janeiro de 2023
How to use HttpContext or Claims in __Layout.cshtml? - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1164712/how-to-use-httpcontext-or-claims-in-layout-cshtml I am using asp.net core 7.0 how to get UserClaims in Pages/Shared/_Layout.cshtml ? I do not want to use ViewData because I have to set it in each page.Published Date : sexta-feira, 27 de janeiro de 2023
Serialização de cache de token (MSAL.NET) - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/msal-net-token-cache-serialization Saiba mais sobre serialização e serialização de cliente da cache de token usando a Biblioteca de Autenticação da Microsoft para .NET (MSAL.NET).Published Date : sexta-feira, 27 de janeiro de 2023
Adquirir um token do cache (MSAL.NET) - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/msal-net-acquire-token-silently Saiba como adquirir um token de acesso silenciosamente (do cache de token) usando a Biblioteca de Autenticação da Microsoft para .NET (MSAL.NET).Published Date : sexta-feira, 27 de janeiro de 2023
Fornecer um HttpClient e proxy (MSAL.NET) - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/msal-net-provide-httpclient Saiba mais sobre como fornecer seu próprio HttpClient e proxy para se conectar ao Azure AD usando a Biblioteca de Autenticação da Microsoft para .NET (MSAL.NET).Published Date : sexta-feira, 27 de janeiro de 2023
Migrar aplicativos cliente confidenciais para MSAL.NET - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/msal-net-migration-confidential-client Saiba como migrar um aplicativo cliente confidencial da Biblioteca de Autenticação do Azure Active Directory para .NET para a Biblioteca de Autenticação da Microsoft para .NET.Published Date : sexta-feira, 27 de janeiro de 2023
Migrar para MSAL.NET e Microsoft.Identity.Web - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/msal-net-migration Saiba como e por que migrar da biblioteca de autenticação do Azure Active Directory para .NET (ADAL.NET) para a biblioteca de autenticação da Microsoft para .NET (MSAL.NET) ou Microsoft.Identity.WebPublished Date : sexta-feira, 27 de janeiro de 2023
Plataforma de identidade da Microsoft e fluxo de código de autorização do OAuth 2.0 - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/v2-oauth2-auth-code-flow Referência de protocolo para a implementação da plataforma de identidade da Microsoft da concessão de código de autorização OAuth 2.0Published Date : sexta-feira, 27 de janeiro de 2023
Fluxo de credenciais do cliente OAuth 2.0 na plataforma de identidade da Microsoft - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow Crie aplicativos Web usando a implementação do protocolo de autenticação OAuth 2.0 feita pela plataforma de identidade da Microsoft.Published Date : sexta-feira, 27 de janeiro de 2023
How to use ReportViewerForMVC in ASP.NET CORE Web Application - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1164771/how-to-use-reportviewerformvc-in-asp-net-core-web I am trying to integrate SSRS report into my asp.net core web app. I followed some tutorial on how to setup report viewer in asp.net mvc using the ReportViewerForMVC nuget package. However I encounter the following error. Hope someone can help to guide me on how to achieve this. Thanks alot!Published Date : sexta-feira, 27 de janeiro de 2023
Getting User Details from Azure AD in ASP.NET - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1161611/getting-user-details-from-azure-ad-in-asp-net In my ASP.NET 4.8 MVC application, I was able to get user authenticated using Azure AD. Now I need to get user details like job title, department, email, etc. From the research I did so far, it looks like MS Graph API is the way to go. Am I correct? Can someone point me to a sample in C# or documentation because all the example I have seen so far are ASP.NET Core. I'm new to MS Graph API and Azure AD feeling little lost.Published Date : sexta-feira, 27 de janeiro de 2023
Unable parse Json - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1164601/unable-parse-json Can any body help me parse the below json in ASP.net C# i need the grantedTo": email and Id also. I have tried many ways but unable to parse. Can anybody help. {"@odata.context":https://graph.microsoft.com/v1.0/$metadata#users('31964c3b-f2ed-455d-8dc7-5b12e8c6be46')/drive/items('01FIJ7336ZHF5XAVMMUFCYDXFHXZRICATY')/permissions,"value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8YWJhbmVyNjJAaXRzLmpuai5jb20","roles":["read"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Banerjee, Alapan [JJCUS NON-J&J]","email":ABaner62@ITS.JNJ.com,"id":"09748e1f-07c7-4b76-b239-2842882b9294"},"siteUser":{"displayName":"Banerjee, Alapan [JJCUS NON-J&J]","email":ABaner62@ITS.JNJ.com,"id":"21","loginName":"i:0#.f|membership|abaner62@its.jnj.com"}},"grantedTo":{"user":{"displayName":"Banerjee, Alapan [JJCUS NON-J&J]","email":ABaner62@ITS.JNJ.com,"id":"09748e1f-07c7-4b76-b239-2842882b9294"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8YXlvdXN1ZkBpdHMuam5qLmNvbQ","roles":["read"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Yousuf, Adnan [JJCUS NON-J&J]","email":AYousuf@ITS.JNJ.com,"id":"b4c566a9-610e-41cc-be33-0aa7ca15cfcb"},"siteUser":{"displayName":"Yousuf, Adnan [JJCUS NON-J&J]","email":AYousuf@ITS.JNJ.com,"id":"46","loginName":"i:0#.f|membership|ayousuf@its.jnj.com"}},"grantedTo":{"user":{"displayName":"Yousuf, Adnan [JJCUS NON-J&J]","email":AYousuf@ITS.JNJ.com,"id":"b4c566a9-610e-41cc-be33-0aa7ca15cfcb"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8c2EtcHJkLW9kZGV2Mi1hZG1pbkBpdHMuam5qLmNvbQ","roles":["owner"],"grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"SA-PRD-oddev2-admin","email":SA-PRD-oddev2-admin@its.jnj.com,"id":"31964c3b-f2ed-455d-8dc7-5b12e8c6be46"},"siteUser":{"displayName":"SA-PRD-oddev2-admin","email":SA-PRD-oddev2-admin@its.jnj.com,"id":"3","loginName":"i:0#.f|membership|sa-prd-oddev2-admin@its.jnj.com"}},"grantedTo":{"user":{"displayName":"SA-PRD-oddev2-admin","email":SA-PRD-oddev2-admin@its.jnj.com,"id":"31964c3b-f2ed-455d-8dc7-5b12e8c6be46"}}}]}Published Date : sexta-feira, 27 de janeiro de 2023
MFA\2FA website authentication - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1164045/mfa2fa-website-authentication would like to setup MFA authentication for users accessing my site on the internet. is there a way to embedd in my web site a start up code is there any solution ready for that perpse the site is public , so meany clients can ping it so ...Published Date : sexta-feira, 27 de janeiro de 2023
Configurar notificações para alterações nos dados de recursos - Microsoft Graph
https://learn.microsoft.com/pt-br/graph/webhooks As APIs do Microsoft Graph usam um mecanismo de webhook para fornecer notificações de alteração aos clientes. Aplicativos cliente usam notificações de alteração para atualizar seu estado após alterações.Published Date : sexta-feira, 27 de janeiro de 2023
In C# Blazor Server How Can I Send a 404 From A Static Method? - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1164523/in-c-blazor-server-how-can-i-send-a-404-from-a-sta After much work, I finally found a way to get the IP Address of the client in Blazor Server. To do this, I had to use a site called ipify: Here is the method invoked: I added an endpoint for this: This was before I realized the only way I could get the IP was to call a static method from JavaScript. So my question is: I will back up and state the problem: Two of my sites (which are demos of open source projects) started getting bombarded by two locations, stayed for 1 second and left. This ruined my Analytics where I might get 0 - 10 visitors a day combined to hundreds per day to each site both from the same two geographic locations, so I know they are bots of some kind. Even if I write the 'current ip' to my database, I have to have someway to identify the current user from the static method that is also available to the instance Index page. Any suggestions on how to block or send the user somewhere from the static C# method? If I can route the user to mysite/404 I think the 404 route above should handle it (if the article I read works). Thanks for any tips as I have run out of ideas.Published Date : sexta-feira, 27 de janeiro de 2023
500 internal server error in Windows server 2012 with IIS 8 for ASP.net core 6 mvc - Microsoft Q&A
https://learn.microsoft.com/en-us/answers/questions/1164685/500-internal-server-error-in-windows-server-2012-w I know this is a common errors but i am getting desperate and frustrated. I have published to folder my ASP.net Core 6 MVC application and deployed in a server running Windows 2012 and IIS 8 and I am getting the server error 500. I am running out of options here, does ASP.net core 6 doesnt run witn iis8 in windows 2012? what else should I do to see and know what is happening here? No information what is the error, no logs being written. I dont know where to look for information. Please helpPublished Date : sexta-feira, 27 de janeiro de 2023
CSP da Política ADMX_EventViewer - Windows Client Management
https://learn.microsoft.com/pt-br/windows/client-management/mdm/policy-csp-admx-eventviewer Saiba mais sobre a área de ADMX_EventViewer no CSP de política.Published Date : sexta-feira, 27 de janeiro de 2023
CSP da Política ADMX_ICM - Windows Client Management
https://learn.microsoft.com/pt-br/windows/client-management/mdm/policy-csp-admx-icm Saiba mais sobre a Área de ADMX_ICM no CSP de Política.Published Date : sexta-feira, 27 de janeiro de 2023
Recursos novos e aprimorados na Edição de Assinatura do SharePoint Server - SharePoint Server
https://learn.microsoft.com/pt-br/sharepoint/what-s-new/new-and-improved-features-in-sharepoint-server-subscription-edition Saiba mais sobre os novos recursos e as atualizações dos recursos existentes na Edição de Assinatura do SharePoint Server.Published Date : quinta-feira, 26 de janeiro de 2023
Visão geral das atualizações de software do SharePoint Server 2013 - SharePoint Server
https://learn.microsoft.com/pt-br/sharepoint/upgrade-and-update/software-updates-overview-for-sharepoint-server-2013 Saiba como implantar uma atualização de software em um farm do SharePoint.Published Date : quinta-feira, 26 de janeiro de 2023
Visão geral das atualizações de software para o SharePoint Server 2016 e 2019 - SharePoint Server
https://learn.microsoft.com/pt-br/sharepoint/upgrade-and-update/software-updates-overview Saiba como implantar uma atualização de software em um farm do SharePoint Server 2016 ou 2019.Published Date : quinta-feira, 26 de janeiro de 2023
Contadores de desempenho do Exchange 2013: Ajuda do Exchange 2013
https://learn.microsoft.com/pt-br/exchange/exchange-2013-performance-counters-exchange-2013-help Usando contadores de desempenho para solucionar problemas Exchange ServerPublished Date : quinta-feira, 26 de janeiro de 2023
Exchange Server: componente IIS 7 não instalado
https://learn.microsoft.com/pt-br/exchange/iis-7-component-not-installed-longhorniis7windowsauthnotinstalled-exchange-2013-help A Instalação do Exchange não pode ser concluída sem o componente IIS 7 instaladoPublished Date : quinta-feira, 26 de janeiro de 2023
Exchange Server – O componente do IIS 7 não está instalado
https://learn.microsoft.com/pt-br/exchange/iis-7-component-not-installed-longhorniis7httpcompressiondynamicnotinstalled-exchange-2013-help Exchange Server Instalação não pôde ser concluída sem o componente do IIS 7 instaladoPublished Date : quinta-feira, 26 de janeiro de 2023
Componente do IIS 7 não instalado
https://learn.microsoft.com/pt-br/exchange/iis-7-component-not-installed-longhorniis7digestauthnotinstalled-exchange-2013-help A instalação do Exchange não pode ser concluída porque um componente do IIS 7 não está instaladoPublished Date : quinta-feira, 26 de janeiro de 2023
Exchange Server – componente do IIS 7 não instalado
https://learn.microsoft.com/pt-br/exchange/iis-7-component-not-installed-longhorniis7basicauthnotinstalled-exchange-2013-help Exchange Server Instalação não pode ser concluída com o componente IIS 7 não instaladoPublished Date : quinta-feira, 26 de janeiro de 2023
A instalação do Exchange não pode continuar: o componente IIS 7 não instalado
https://learn.microsoft.com/pt-br/exchange/iis-7-component-not-installed-longhorniis7httpcompressionstaticnotinstalled-exchange-2013-help A instalação do Exchange não pode ser contusão: o componente IIS 7 não está instaladoPublished Date : quinta-feira, 26 de janeiro de 2023
Recomendações de desempenho Exchange Server 2013: Ajuda do Exchange 2013
https://learn.microsoft.com/pt-br/exchange/exchange-server-2013-performance-recommendations-exchange-2013-help Recomendações de desempenho para Exchange Server 2013Published Date : quinta-feira, 26 de janeiro de 2023
Gerenciamento de Direitos de Informações: Ajuda do Exchange 2013
https://learn.microsoft.com/pt-br/exchange/information-rights-management-exchange-2013-help Gerenciamento de direitos de informação em Exchange ServerPublished Date : quinta-feira, 26 de janeiro de 2023
Autenticação no Reporting Services - SQL Server Reporting Services (SSRS)
https://learn.microsoft.com/pt-br/sql/reporting-services/extensions/security-extension/authentication-in-reporting-services Saiba como estender esquemas de autenticação no Reporting Services usando a Autenticação de Formulários ou a interface IAuthenticationExtension2.Published Date : quinta-feira, 26 de janeiro de 2023
Como instalar extensões de segurança personalizadas - SQL Server Reporting Services (SSRS)
https://learn.microsoft.com/pt-br/sql/reporting-services/extensions/security-extension/how-to-install-custom-security-extensions Conheça o novo portal da Web que o Reporting Services 2016 introduziu. Veja como as alterações resultantes afetam a implementação de extensões de segurança personalizadas.Published Date : quinta-feira, 26 de janeiro de 2023
Segurança de acesso do código no Reporting Services - SQL Server Reporting Services (SSRS)
https://learn.microsoft.com/pt-br/sql/reporting-services/extensions/secure-development/code-access-security-in-reporting-services Saiba mais sobre a segurança de acesso do código no Reporting Services. Saiba como as evidências, os grupos de códigos e os conjuntos de permissões nomeadas são fatorados em uma política de segurança.Published Date : quinta-feira, 26 de janeiro de 2023
Preparando a implementação de uma extensão de entrega - SQL Server Reporting Services (SSRS)
https://learn.microsoft.com/pt-br/sql/reporting-services/extensions/delivery-extension/preparing-to-implement-a-delivery-extension Descubra como implementar uma extensão de entrega no Reporting Services. Saiba mais sobre interfaces e classes disponíveis e a funcionalidade obrigatória e opcional.Published Date : quinta-feira, 26 de janeiro de 2023
Visão geral das extensões de entrega - SQL Server Reporting Services (SSRS)
https://learn.microsoft.com/pt-br/sql/reporting-services/extensions/delivery-extension/delivery-extensions-overview Leia uma visão geral das extensões de entrega, que você pode usar para entregar relatórios do Reporting Services de várias maneiras, como por meio de email ou compartilhamento de arquivos.Published Date : quinta-feira, 26 de janeiro de 2023
Identificando o estado de execução - SQL Server Reporting Services (SSRS)
https://learn.microsoft.com/pt-br/sql/reporting-services/report-server-web-service-net-framework-soap-headers/identifying-execution-state Saiba como usar o Reporting Services para identificar o estado de execução para que você possa interagir com o relatório de várias maneiras.Published Date : quinta-feira, 26 de janeiro de 2023
Criando o proxy do serviço Web - SQL Server Reporting Services (SSRS)
https://learn.microsoft.com/pt-br/sql/reporting-services/report-server-web-service/net-framework/creating-the-web-service-proxy Um cliente e um serviço Web podem se comunicar usando mensagens SOAP. Adicione uma classe proxy ao seu projeto para mapear parâmetros para elementos XML e enviar mensagens SOAP.Published Date : quinta-feira, 26 de janeiro de 2023
Configurar declarações de grupo para aplicativos usando o Azure Active Directory - Microsoft Entra
https://learn.microsoft.com/pt-br/azure/active-directory/hybrid/how-to-connect-fed-group-claims Obtenha informações sobre como configurar declarações de grupo para uso com o Azure AD.Published Date : quinta-feira, 26 de janeiro de 2023
Compare Azure Government and global Azure - Azure Government
https://docs.microsoft.com/en-us/azure/azure-government/compare-azure-government-global-azure Describe feature differences between Azure Government and global Azure.Published Date : quinta-feira, 26 de janeiro de 2023
Métricas compatíveis por tipo de recurso do Azure Monitor - Azure Monitor
https://learn.microsoft.com/pt-br/azure/azure-monitor/essentials/metrics-supported Lista de métricas disponíveis para cada tipo de recurso com o Azure Monitor.Published Date : quinta-feira, 26 de janeiro de 2023
Solicitações de Titulares de Dados da Família do Visual Studio para o GDPR e CCPA - Microsoft GDPR
https://learn.microsoft.com/pt-br/compliance/regulatory/gdpr-dsr-visual-studio-family Aprenda a usar as ferramentas do Microsoft para gerenciar Solicitações de Titulares de Dados da Família no Visual Studio para RGPD e CCPA.Published Date : quinta-feira, 26 de janeiro de 2023
Configure Applications with App Configuration and Key Vault - Code Samples
https://docs.microsoft.com/en-us/samples/azure/azure-sdk-for-net/app-secrets-configuration/ Improve application startup performance when configuring secrets in Key Vault using Azure App Configuration.Published Date : quinta-feira, 26 de janeiro de 2023
Blazor sample applications - Code Samples
https://docs.microsoft.com/en-us/samples/dotnet/blazor-samples/blazor-samples/ Samples to accompany the official Microsoft Blazor documentation.Published Date : quinta-feira, 26 de janeiro de 2023
Quickstart: Use Azure Cache for Redis with an ASP.NET Core web app - Code Samples
https://learn.microsoft.com/en-us/samples/azure-samples/azure-cache-redis-samples/quickstart-use-azure-cache-for-redis-with-an-aspnet-core-web-app/ Learn how to use an ASP.NET Core web application to connect to Azure Cache for Redis to store and retrieve data from the cache.Published Date : quinta-feira, 26 de janeiro de 2023
Microsoft Graph sample ASP.NET Core app - Code Samples
https://docs.microsoft.com/en-us/samples/microsoftgraph/msgraph-sample-aspnet-core/microsoft-graph-sample-aspnet-core-app/ This sample demonstrates how to use the Microsoft Graph .NET SDK to access data in Office 365 from ASP.NET Core apps.Published Date : quinta-feira, 26 de janeiro de 2023
Channel and group tabs in ASP.NET Core with MVC - Code Samples
https://learn.microsoft.com/en-us/samples/officedev/microsoft-teams-samples/officedev-microsoft-teams-samples-tab-channel-group-mvc-csharp/ Sample app showing custom group and channel Tab with ASP. NET CorePublished Date : quinta-feira, 26 de janeiro de 2023
Azure Cache for Redis samples - Code Samples
https://learn.microsoft.com/en-us/samples/azure-samples/azure-cache-redis-samples/samples-repository-for-azure-cache-for-redis/ Learn how to use Azure Cache for Redis to have access to a secure, dedicated cache that is accessible from any application within Azure.Published Date : quinta-feira, 26 de janeiro de 2023
Office Add-in that supports Single Sign-on to Office, the add-in, and Microsoft Graph - Code Samples
https://docs.microsoft.com/en-us/samples/officedev/pnp-officeaddins/office-add-in-sso-aspnet/ This sample implements an Office Add-in that uses the `getAccessToken` API in Office.js to give the add-in access to Microsoft Graph data. This sample...Published Date : quinta-feira, 26 de janeiro de 2023
LineCounter - Code Samples
https://learn.microsoft.com/en-us/samples/azure/azure-sdk-for-net/line-counter/ Sample that illustrates using Storage, Event Hubs, and Event Grid clients along with ASP.NET Core integration, distributed tracing and hosted services.Published Date : quinta-feira, 26 de janeiro de 2023