-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ref #12549 | ASP.Net Server has dependency on React Client App when creating Tab App using Adding React + ASP.Net (Full stack application) in an Empty TeamsAPP soln #12633
Comments
You can update the project dependencies by following steps:
But note that you may need to update the launchSettings or proj files to make the dependencies work. In my side, the sample app you provided works fine, without any change.
The sample also use SSL. Otherwise, the app cannot be embedded in teams at all. You can find the code in https://github.com/garrytrinder/TabReactTSDotNet/blob/main/tabreacttsdotnet.client/vite.config.ts#L19 |
Hi @npagare , with regarding to the question #12549 together with a set of related questions you have raised. I'd like to set some context here for you to better understanding. I'm sorry that we may not have a good doc for below content yet, but we will add more docs later. To create a Teams app, you typically have three approaches: In your case, you want a React app which is not yet provided in our templates so that is causing a difficulty from your first try. - To address this, we have internally discussed to the potential solutions could be: 2. Add an Empty Teams app to your existing .NET solution:
I think you don't have any issues to config capabilities in manifest. Additionally, Teams Toolkit has a feature to add authentication for your Teams App which worth a try: after add empty Teams app to your React project. Right click on the Teams app you just added, select Teams Toolkit -> Add Authentication Code: - To address this, we have internally discussed to the potential solutions could be: 3. Start with templates provided in TTK There are several new features requested to be added in TTK to resolve issues you raised. I have raised the proposal to include all these in our roadmap for FY2025. I will keep you updated and may invite you to try out beta version when we have. We are now in internal planning phase for FY2025 features, stay tuned and I will let you know when we have more concrete timeline. |
Hello @summzhan and @hund030, thank you for your guidance. I will apply your thoughts on my end and get back to you. @summzhan, configuration of the SSO and SSL Certs capability during non-prod and prod (per target M365 tenants) is a very vital requirement. I appreciate your leadership in considering my issues in the TTK roadmap. Good day! |
Describe the bug
Refer to the GitHub issue #12549
Per suggestion in the GitHub issue #12549, I added a new full stack React ASP.Net application in the solution that was created after creating an empty TeamsApp project.
When running the application, I find that the project dependencies for ASP.Net Core project is set on the client (React TS) project instead of other way around.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Unlike the current unremovable dependency on Client project set in the Server; the Client project should have build dependency on Server (which should be editable (remove / add).
I should be ablet to run both projects independently. Once the client App is configured as a StaticTab app in the TeamsApp, I should be able to debug Teams Tab app independently.
Screenshots
VS Code Extension Information (please complete the following information):
CLI Information (please complete the following information):
Additional context
Refer to the github repo - https://github.com/garrytrinder/TabReactTSDotNet
Thanks to @garrytrinder ([email protected]) for creating this sample.
Tagging @yuqizhou77, @hund030
The text was updated successfully, but these errors were encountered: