bgmulinari / B1SLayer

A lightweight SAP Business One Service Layer client for .NET
MIT License
124 stars 42 forks source link

Connecting SAP Service Layer with Blazor Using and EF Core Project #11

Closed abrimatt closed 2 years ago

abrimatt commented 2 years ago

Hi @bgmulinari,

Thank you for your reply on the Stack overflow issue. As suggested that I the issue here on GitHub, I would like to point out some issues faced when working with Blazor project using your Nugget package.

  1. How can we authenticate SAP Service Layer once and the session is used in every part of the Blazor application project? For example, I have an ItemService and OrderService that retrieves data from Service Layer, how can we use the session generated from SAP Service Layer login on all the services created in Blazor.
  2. Can we also use the package as a dependency Injection with Blazor or Ef Core Web Api

Many thanks in advance.

bgmulinari commented 2 years ago

Hello, @abrimatt.

I think B1SLayer can perfectly work in your scenario.

Please, read my blog post in the SAP Community where I provide an overview of what B1SLayer offers and how it works: https://blogs.sap.com/2022/05/23/b1slayer-a-clean-and-easy-way-to-consume-sap-business-one-service-layer-with-.net/

I think the post should answer your questions, but if you still have any issues or doubts, please, let me know.

bgmulinari commented 2 years ago

Hi, @abrimatt. Were you able to use B1SLayer successfully in your project? I'm closing the issue for now, but If you still have any doubts, please, let me know.