Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Sharing sessions between ASP.NET Web Forms application and Blazor application

$
0
0

Here is the story,

The framework version for our ecommerce site, which was created with asp.net(vb.net), is 4.7.2. This current application will be changed to a blazor application (7.0). We employ the incremental conversion strategy, which means that until the asp.net program is completely transformed into a blazor app, two apps will be operating. Assume we used Blazor to transform some pages. In the current asp.net application, sessions are used, for instance, session("OrderId"). I also want to access or modify the value of the Blazor application's session("OrderId") variable.

I tried to follow the instruction, but I was unable to make it work in my applications (the sharing session section of the tutorial is a little different from my situation).- https://devblogs.microsoft.com/dotnet/migrating-from-asp-net-to-asp-net-core-part-4/.

Since this github application is extremely comparable to our website, you can look at it.https://github.com/dotnet-architecture/eShopOnBlazor/tree/main/srcTo switch to eShopOnBlazor from eShopLegacyWebForms. How can sessions be shared between the two projects?

Is there anyone have an idea how to share sessions between ASP.NET webforms and a Blazor application?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>