Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion 10.0/BlazorSample_BlazorWebApp/wwwroot/mapComponent.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.js';

mapboxgl.accessToken = 'pk.eyJ1IjoiZ3VhcmRyZXgiLCJhIjoiY2tvZnBkZmlqMGtyZTJ3bnJvdjJ0bWNhNiJ9.zvSwQMBflS5EjgC3dp4cyg';
mapboxgl.accessToken = '{ACCESS TOKEN}';

export function addMapToElement(element) {
return new mapboxgl.Map({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.js';

mapboxgl.accessToken = 'pk.eyJ1IjoiZ3VhcmRyZXgiLCJhIjoiY2tvZnBkZmlqMGtyZTJ3bnJvdjJ0bWNhNiJ9.zvSwQMBflS5EjgC3dp4cyg';
mapboxgl.accessToken = '{ACCESS TOKEN}';

export function addMapToElement(element) {
return new mapboxgl.Map({
Expand Down
4 changes: 3 additions & 1 deletion 10.0/BlazorWebAppEntraBff/MinimalApiJwt/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
//
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
//
// Authority format {AUTHORITY} for ME-ID tenant type: https://sts.windows.net/{TENANT ID}
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
//
jwtOptions.Authority = "{AUTHORITY}";
//
Expand Down
4 changes: 3 additions & 1 deletion 10.0/BlazorWebAppEntraBffYarpAspire/MinimalApiJwt/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
//
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
//
// Authority format {AUTHORITY} for ME-ID tenant type: https://sts.windows.net/{TENANT ID}
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
//
jwtOptions.Authority = "{AUTHORITY}";

Expand Down
2 changes: 1 addition & 1 deletion 10.0/BlazorWebAppMovies/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
},
"AllowedHosts": "*",
"ConnectionStrings": {
"BlazorWebAppMoviesContext": "Server=(localdb)\\mssqllocaldb;Database=BlazorWebAppMoviesContext-2fd342d0-8195-4c03-8bd1-a2598fc3b39d;Trusted_Connection=True;MultipleActiveResultSets=true"
"BlazorWebAppMoviesContext": "Server=(localdb)\\mssqllocaldb;Database=BlazorWebAppMovies;Trusted_Connection=True;MultipleActiveResultSets=true"
}
}
4 changes: 3 additions & 1 deletion 10.0/BlazorWebAppOidcBffAuto/MinimalApiJwt/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
//
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
//
// Authority format {AUTHORITY} for ME-ID tenant type: https://sts.windows.net/{TENANT ID}
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
//
jwtOptions.Authority = "{AUTHORITY}";
//
Expand Down
4 changes: 3 additions & 1 deletion 10.0/BlazorWebAppOidcBffServer/MinimalApiJwt/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
//
// Authority format {AUTHORITY} matches the issurer (`iss`) of the JWT returned by the identity provider.
//
// Authority format {AUTHORITY} for ME-ID tenant type: https://sts.windows.net/{TENANT ID}
// Authority format {AUTHORITY} for ME-ID tenant type (V1 STS token): https://sts.windows.net/{TENANT ID}
// Authority format {AUTHORITY} for ME External ID tenant type: https://{DIRECTORY NAME}.ciamlogin.com/{TENANT ID}/v2.0
// Authority format {AUTHORITY} for B2C tenant type: https://login.microsoftonline.com/{TENANT ID}/v2.0
// The format of the authority URL depends on the tenant type and the version of the tokens issued by the identity provider.
// For guidance on adopting V2 tokens and the corresponding authority URL format, see the article.
//
jwtOptions.Authority = "{AUTHORITY}";
//
Expand Down
63 changes: 63 additions & 0 deletions 10.0/MauiBlazorWebEntraWorkforce/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
Loading