Тёмный
Code with Anjuli
Code with Anjuli
Code with Anjuli
Подписаться
👋 Hi, I'm Anjuli! Every once in a while I will share the fun and interesting topics I've found along my software development journey with .NET and Azure. You will also find the recordings of sessions I gave at conferences about .NET and Azure.

Find my socials: bio.link/codewithanjuli
.NET Blazor Javascript interoperability
17:58
4 месяца назад
Connect from your Blazor app to your API
5:06
5 месяцев назад
What is Blazor?
10:08
6 месяцев назад
Microsoft Entra External ID for customers
7:40
8 месяцев назад
Комментарии
@LapinskasLukas
@LapinskasLukas 3 дня назад
This is great because it's so simple. Have you found anything for sign out yet? Thanks for making this video!
@CodeWithAnjuli
@CodeWithAnjuli 3 дня назад
@@LapinskasLukas no not yet! But it's on my list of things to figure out
@WhatIsBinary
@WhatIsBinary 12 дней назад
i set the redirect uri, why do i get invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application.
@CodeWithAnjuli
@CodeWithAnjuli 11 дней назад
@@WhatIsBinary the error states that you have used the wrong redirect Uri, did you check if you are using the correct port in your URI? This is often different for each application
@marcobalsamo6451
@marcobalsamo6451 13 дней назад
ok. but how do you get the username or login email? does this microsoft enter do you pay?
@CodeWithAnjuli
@CodeWithAnjuli 11 дней назад
@@marcobalsamo6451 you can get the username and email from the token, if you search for how to get the Claims out of the Entra ID token you will see an example. In my blazor application (in my repository) there's also an example of this. This is a free feature
@JudgeCastle
@JudgeCastle 17 дней назад
I appreciate this video. It helped me visualize what I was changing without having to set up a test tenant. Thank you.
@samuelnettey
@samuelnettey 20 дней назад
Have you tried the Native Authentication for Microsoft Entra External ID with MAUI yet ?
@CodeWithAnjuli
@CodeWithAnjuli 19 дней назад
@@samuelnettey no I haven't tried that yet, I will put it on my list of things to try out 🙂
@matthewwatts6281
@matthewwatts6281 25 дней назад
Hi, this is such a useful video. I have been looking at adding custom roles for a while. The Microsoft documentation is not great on this but your video is.
@bohansen2960
@bohansen2960 28 дней назад
Great! So Nice with a simple demo. It works :). But unable to logout? Hmmmm How is that done. Not as easy or im missing something :)
@roman-tp6sd
@roman-tp6sd Месяц назад
Tnx Anjuli !!!
@rishwanthgourishetty3257
@rishwanthgourishetty3257 Месяц назад
video is very clear and to the point
@rishwanthgourishetty3257
@rishwanthgourishetty3257 Месяц назад
Thanks a lot , saved my day
@quyho9535
@quyho9535 Месяц назад
Great Video! very informative. How do I setup in entra external id admin the default role for self -serve registration, when user register entra does not automatically assign any role, when I add web api project I have to assign the role for user in both blazor wasm and web api in order for both projects to work, am I doing something wrong? Thank you!
@CodeWithAnjuli
@CodeWithAnjuli Месяц назад
@@quyho9535 sorry I don't understand, you want the Admin role to be the default role or did you make a custom role?
@quyho9535
@quyho9535 Месяц назад
Hi Anjuli, I followed your steps to add app role to blazor wasm and manually assigned to the existing users, it worked but when the new user register by themselves the role is not assigned to them, is any way to setup that the new user role is automatically assigned when they complete the new registration. Thank you!
@edsonms1493
@edsonms1493 Месяц назад
After watching several videos, this was the only one that helped me solve my problem. Congratulations on the video and for sharing this valuable knowledge.
@bigdan7281
@bigdan7281 Месяц назад
Just what I needed - brief and complete - thank you.
@martiniproductions185
@martiniproductions185 Месяц назад
can you please do a step by step guide for connecting it
@CodeWithAnjuli
@CodeWithAnjuli Месяц назад
@@martiniproductions185 I will check what I can do, might be difficult since it's a paid service
@miguelblanco3484
@miguelblanco3484 Месяц назад
Hi,I have two problems,in the iOS folder when I copy Info.plist I don't get a copy that I can rename,nothing appears,and the second problem is that NameLabel.Text tells me that it is out of context and there is no way to make it work,I made changes in MainPage.xaml to add <Label x:Name=‘NameLabel’/> but it doesn't work either...do you have an idea what it could be?
@DengarMC
@DengarMC Месяц назад
Thanks for this good tutorial, it’s a good exercise for a beginner like me. So, I tried to change the behavior after login in order to redirect the user to another page and I have a problem with the method . WithParentActivityOrWindow(EntraConfig.ParentWindow): I stay on the same window and the code after this line does not seem to be executed (e.g. await Navigation.PushAsync(new LoginOK());).
@miguelblanco3484
@miguelblanco3484 Месяц назад
I couldn't help noticing the cat box, I have exactly the same one, but I don't have a cat yet ;-/ I wonder if you need a cat at home to be a good programmer.
@CodeWithAnjuli
@CodeWithAnjuli Месяц назад
@@miguelblanco3484 nice that you have the same one! I don't think you need a cat to be a good programmer, but I think it will make you a happier programmer 😊
@majormartintibor
@majormartintibor Месяц назад
Probably might save some folks a bit of time and frustration: to log in you need the full principal name not just the first part. If you only type the name part you'll get "invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for this client application." Now don't let that fool you, you set up everything correctly, no need to triple check your redirect uris for typos. What I think is happening in the background is that a name is found in SOME tenant, but most likely not yours and that causes the issue. You can clearly see the difference if you type in some nonsense random string as username: "We couldn't find an account with that username.".
@CodeWithAnjuli
@CodeWithAnjuli Месяц назад
@@majormartintibor thank you for clarifying! I will ask around about this problem
@Spud9
@Spud9 Месяц назад
Thank you so much
@lukevincent4397
@lukevincent4397 2 месяца назад
Please don't stop producing these great videos. You have a natural teaching ability. Thank you!
@CodeWithAnjuli
@CodeWithAnjuli Месяц назад
@@lukevincent4397 thank you very much! 🙂
@dayalanshanmugam3740
@dayalanshanmugam3740 2 месяца назад
Thanks a lot for this video. Very nice explanation. Helped me to figure out my issue.
@CodeWithAnjuli
@CodeWithAnjuli 2 месяца назад
I'm happy it helped you!
@VijayYeruva
@VijayYeruva 2 месяца назад
Thanks for the video, but there are many errors with respect to login using Entra ID for example once user logged in click back button twice you will end up in a page where you can see credentials of user on top right but the page is stuck at complete login, any idea how to fix these error/bug? try it couple of time to reproduce i did not find any way to resole it till now. The url appears some thing like this localhost:7155/authentication/login-callback#code=0.ARcAxN3LWE_HWEmfG9PttP9t5fDg3ofin6pBsYeO0yi25gD3AH4.AgABBAIAAAApTwJmzXqdR4BN2miheQMYAgDs_wUA9P9mldsmUqJtxIavmLDE5uuxqDmSZ2OHGMXbOHFjmBS_0IiJrshF8wpR66Ak5aCNPvTrh_IaX--XwOB_Varwfff5hU5KlOe5ZQ_jlfKXJ392sRd7nPRgNA26mwdDb8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NDBiNC1hZDNhLWI5ZmJiODE1OTRmOSIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0%3d%7c70f8aaf7-abab-4b0c-a758-8ebc104499e6&session_state=25503f61-7dcf-43f5-8857-7cab1ceb33fc
@CodeWithAnjuli
@CodeWithAnjuli 2 месяца назад
I've updated my repository, because I forgot to record another step necessary for the Android setup. Make sure to look at my repo! 😇
@keithjairam8452
@keithjairam8452 2 месяца назад
Great content… you should make an entire series on Udemy!
@CodeWithAnjuli
@CodeWithAnjuli 2 месяца назад
@@keithjairam8452 thank you! I will think about it 🙂
@DrNoLife
@DrNoLife 2 месяца назад
Just wanted to say thanks for the video! Helped a ton. This was one scenario where I found the official documentation to be lacking. Using either outdated packages, thus using methods that don’t exist, or simply not explaining this more succinct. Anyhow, as mentioned before. Thanks for the guide. Followed it and worked first try.
@CodeWithAnjuli
@CodeWithAnjuli 2 месяца назад
@@DrNoLife Good to hear, thank you! 😊
@p0001076
@p0001076 2 месяца назад
Hello Anjuli. Thank you for this clear explanation. I have the correct license, but still I don't see the User experiences menu. Is there any way you could help me out here? I'm Belgian so we could go on in Dutch 😉
@cenkyenikoylu2670
@cenkyenikoylu2670 2 месяца назад
Has anyone demoed this on macOS with vscode and iOS devices? Have you tried it with Apple Developer settings?
@johannesgp18
@johannesgp18 2 месяца назад
Great tutorial, Anjuli! I'm definitely looking forward to your tutorial on implementing this functionality at Microsoft (I'm having some issues related to the cache management of the accounts on that platform in order to implement the sign out method). Thank you so much!
@CodeWithAnjuli
@CodeWithAnjuli 2 месяца назад
@@johannesgp18 Thank you! I will keep this in mind for the next video 🙂
@ahmetkocadogan1890
@ahmetkocadogan1890 2 месяца назад
In MainActivity.cs, don't we need protected override void OnActivityResult(int requestCode, Result resultCode, Intent data) { base.OnActivityResult(requestCode, resultCode, data); AuthenticationContinuationHelper.SetAuthenticationContinuationEventArgs(requestCode, resultCode, data); } this code to correctly continue to login flow ?
@cissemy
@cissemy 2 месяца назад
Thanks Can you make a video about social login ( facebook ,google) ?
@CodeWithAnjuli
@CodeWithAnjuli 2 месяца назад
@@cissemy I will put it on my list !
@cissemy
@cissemy 2 месяца назад
@@CodeWithAnjuli Thanks
@lukepadiachy
@lukepadiachy 2 месяца назад
This is gold! Thank you so much.
@CodeWithAnjuli
@CodeWithAnjuli 2 месяца назад
@@lukepadiachy thank you! 😊
@Muhil_kannan_
@Muhil_kannan_ 2 месяца назад
Is there anything for logout?
@CodeWithAnjuli
@CodeWithAnjuli 2 месяца назад
I'm looking into it! I will let you know when I find somethng and add it in my repo
@lukevincent4397
@lukevincent4397 2 месяца назад
Thank you for your very informative videos ! Looking forward to many more.
@CodeWithAnjuli
@CodeWithAnjuli 2 месяца назад
@@lukevincent4397 Glad you liked it!
@jannekorhonen6263
@jannekorhonen6263 2 месяца назад
Thanks again for a great video!
@Jason_Shave
@Jason_Shave 3 месяца назад
I found this video on the corner of the Internet and finally I was able to get my Blazor web assembly app working with custom roles. I couldn't figure out for the life of me why my custom roles collection in the token wasn't being picked up. Do you know if any public documentation exists on this point? Seems like a big miss to not have something. Also, it doesn't look like you used the IServiceProvider in the CustomAccountFactory. Thanks for posting!
@CodeWithAnjuli
@CodeWithAnjuli 3 месяца назад
@@Jason_Shave I haven't found much documentation about it, but I will look again and see what I can find 🙂
@pvanroos
@pvanroos 3 месяца назад
/authentication/logout results in a 404 for my Blazor App which mirrors yours in this tutorial
@CodeWithAnjuli
@CodeWithAnjuli 3 месяца назад
@@pvanroos true, that's not build-in with this template, which normally is in previous .NET versions. It's on my list of things to add to my repository
@jsiahaan
@jsiahaan 3 месяца назад
Thank you very much Anjuli!
@frankmvabaza
@frankmvabaza 3 месяца назад
Hi Anjuli, Thank you for the video on external ID. I have two separate tenants, so if I create the external ID tenant from the workforce tenant. Once the external ID tenant is created do I create the user flow and provide access to the users from the second tenant to access the applications? Do I link the MAU subscription from the external ID tenant?
@CodeWithAnjuli
@CodeWithAnjuli 3 месяца назад
@@frankmvabaza yes its good practice to use the external tenant for that
@frankmvabaza
@frankmvabaza 3 месяца назад
@@CodeWithAnjuli The applications that are already created from the workforce tenant. Will they be visible on the external ID tenant. If i add the workforce tenant under organisation setting in external ID tenant. Will I be able to have access to the applications instead of recreating them?
@CodeWithAnjuli
@CodeWithAnjuli 3 месяца назад
@@frankmvabaza You have to register them again in the external tenant
@frankmvabaza
@frankmvabaza 3 месяца назад
​@@CodeWithAnjulithank you for the clarity.
@allied-data
@allied-data 3 месяца назад
Excellent presentation. Keep it up.
@CodeWithAnjuli
@CodeWithAnjuli 3 месяца назад
@@allied-data thank you!
@chiragp7
@chiragp7 3 месяца назад
Failed to load resource: net:: ERR_CONNECTION_REFUSED I am getting exception = unhandled exception rendering component: TypeError: Failed to fetch System. Net. Http.HttpRequestException: TypeError: Failed to fetch
@luckbeforeleap
@luckbeforeleap 4 месяца назад
Thanks for uploading. It was very useful to me to see an example of a web app and an exposed API working together.
@CodeWithAnjuli
@CodeWithAnjuli 4 месяца назад
Great to hear! 🙂
@eddystyle2008
@eddystyle2008 4 месяца назад
Seattle, here we come!
@adamseddik-ec9bk
@adamseddik-ec9bk 4 месяца назад
I'm a ps4 fan and i still congratulate u
@waleedbensumaidea3947
@waleedbensumaidea3947 4 месяца назад
This MVP award is a true testament to your exceptional technical abilities and your commitment to lifting up the community.✨ This achievement is a celebration of your hard work and the positive influence you've had on so many people🌏. Take a moment to soak it all in and enjoy this well-deserved recognition. I can't wait to see what you'll accomplish next as a Microsoft MVP. The sky's the limit! ✨
@CodeWithAnjuli
@CodeWithAnjuli 4 месяца назад
Thank you!
@basoudehinken2529
@basoudehinken2529 4 месяца назад
Congrats🎉
@CodeWithAnjuli
@CodeWithAnjuli 4 месяца назад
Thanks!
@Autystyczny
@Autystyczny 4 месяца назад
IJSObject reference should also be disposed fyi
@CodeWithAnjuli
@CodeWithAnjuli 4 месяца назад
Ah yes, I forgot to mention it in the video. Thanks!
@osman3404
@osman3404 4 месяца назад
Awesome stuff ad I was also wondering, if its possible to re-create in Blazor, some of the short coding samples in this series: ru-vid.com/group/PLXoynULbYuEDG2wBFSZ66b85EIspy3fy6&si=RbYxqYqqj2sMmjQP Specially, the concepts like Optimistic UI, Pending UI, Concurrent Mutation and Loading data ;)
@CodeWithAnjuli
@CodeWithAnjuli 4 месяца назад
Thank you! I will look into it 🙂
@justinfeldmann6986
@justinfeldmann6986 4 месяца назад
Great set of videos on using Entra ID with Blazor! One question: In the Program.cs, when calling AddMsalAuthentication, where is the CustomUserAccount coming from? I'm currently following along, and CustomUserAccount doesnt resolve to anything for me. Unsure if I'm missing a Nuget package?
@williamprogramer4168
@williamprogramer4168 4 месяца назад
⭐⭐⭐⭐⭐
@KanokpitsunLertprommakul
@KanokpitsunLertprommakul 4 месяца назад
Thanks, easy to learn step by step, 👍