Giter Site home page Giter Site logo

mgt-teams-blazor-wasm's Issues

Error while trying the sample

Came across this repo looking for server side mgt for blazor.

I get this error when I tried the WASM solution.
Checking with you first before I try to debug further.

Unhandled Exception:
Microsoft.JSInterop.JSException: mgt.TeamsProvider.login is not a function
TypeError: mgt.TeamsProvider.login is not a function
at window.teamslogin (https://localhost:5001/:21:31)
at https://localhost:5001/_framework/blazor.webassembly.js:1:9805
at new Promise ()
at Object.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.webassembly.js:1:9773)
at _mono_wasm_invoke_js_marshalled (https://localhost:5001/_framework/wasm/dotnet.3.2.0.js:1:171294)
at do_icall (:wasm-function[6049]:0x10f8b1)
at do_icall_wrapper (:wasm-function[1896]:0x50b6a)
at interp_exec_method (:wasm-function[1120]:0x2588e)
at interp_runtime_invoke (:wasm-function[5655]:0xf7391)
at mono_jit_runtime_invoke (:wasm-function[5109]:0xddb3d)
at System.Threading.Tasks.ValueTask`1[TResult].get_Result () <0x2cdf4c0 + 0x00034> in :0
at teams_blazor_wasm.Pages.Index.TeamsLogin () [0x00032] in D:\Work\Repos\MGT-Teams-Blazor-WASM\Pages\Index.razor:37
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_1 (System.Object state) <0x2ced090 + 0x0000c> in :0
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) <0x2ced040 + 0x00022> in :0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x27d69c8 + 0x00100> in :0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x27d3bf8 + 0x00010> in :0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x2cecfd0 + 0x00038> in :0
at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x2ce9970 + 0x00102> in :0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x2ce95d8 + 0x00000> in :0

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.