What is the different between ProtectedBrowserStorage vs ProtectedLocalStorage in blazor dotnet 6? - blazor-server-side

Nothing problem I just want to know the different when the best to use either one of them
Nothing problem I just want to know the different when the best to use either one of them

Related

Upgrading from Esri.Arcgis.Client 10.2.x to Arcgis.Runtime.100.x

Hello fellow arcgis developers.
I am about to migrate from old Arcgis.Client .Net to Arcgis.Runtime .Net.
And looking at the documentation I cant find what corresponding namespaces they are now using in the Arcgis.Runtime 100.x.
Now when running Arcgis.Client i have these all namespace i need to change for the corresponding in Arcgis.Runtime 100.13 and as i mentioned could not find in the documentation:
using ESRI.ArcGIS.Client.Local;
using ESRI.ArcGIS.Client;
using ESRI.ArcGIS.Client.Symbols;
using ESRI.ArcGIS.Client.Tasks;
using ESRI.ArcGIS.Client.Toolkit.DataSources;
using ESRI.ArcGIS.Client.Geometry;
I have been looking at this guide but I dont mention the namepaces above.
https://developers.arcgis.com/net/reference/migrate-to-100-x-from-10-2-x/
It’s not a 1:1 but most namespaces are under Esri.ArcGISRuntime.* instead of Esri.ArcGIS.Client.*. Let intellisense and auto complete in Visual Studio help you discover them. Also not all classes are 1:1 so they might be named different or use a completely different and improved approach now

#fluent-ui/react vs #fluent-ui/react-northstar

I'm looking for some guideline what's the difference between #fluent-ui/react and #fluent-ui/react-northstar. This documentation (READMEs) are super imprecise. I'm don't understand which one to use for what.
I'm writing that react-component to be ran in webapp and the word plugin. Do you know which one to go for? They both look a bit different and feels that theming works a bit different.
You should use fluent-ui/react-northstar if you want to develop apps for Microsoft Teams, else you should use the normal fluent-ui.
If you look at a simple example of a dropdown, you will see that there is quite a lot of difference between the two. Northstar's dropdown combines the features of the dropdown with combobox.
northstar:
https://fluentsite.z22.web.core.windows.net/0.51.4/components/dropdown
normal:
https://developer.microsoft.com/en-us/fluentui#/controls/web/dropdown
https://developer.microsoft.com/en-us/fluentui#/controls/web/combobox
Another to take into consideration is that Northstar's scope is limited to Web / Desktop at present.
https://fluentsite.z22.web.core.windows.net/0.51.4/faq

How to 'host' a Work Item inside a WinForms application?

I've come across a couple applications in the past that run outside VS2010 (or MTM) but display TFS Work Items 100% as they are shown in VS2010 as if there was a way to get the WorkItem including all its controls as a complete 'control' and place it inside my own application.
Does anyone know how to do that? I am currently trying to remember where I saw that, but maybe someone knows what I am talking about and can point me in the right direction TFS client api wise!?
Use the Microsoft.TeamFoundation.WorkItemTracking.Controls.WorkItemFormControl class. Doc on the MSDN.
This class has a property Item of type WorkItem, set the object and you're good to go.
If you want an application that uses it, I made this one, go get the sources, it's in the CegWICreator Project in the MainForm.cs file. If I remember correctly (the app is quite old) this control is pretty well used at some different places.

Which namespace should I use for my Asp.NET MVC 4 beta Filters?

I am trying to implement a global exception handler in Asp.NET MVC 4 beta. As I understand it I am supposed to implement an IExceptionFilter and add that to the filters collection. However I was unable to make it work when using the System.Web.Mvc.IExceptionFilter. Am I supposed to use that one, or is the System.Web.Http.Filters.IExceptionFilter (and related classes) the ones I should be using?
Asking another way:
Should I be adding filters to the GlobalConfiguration.Configuration.Filters or GlobalFilters.Filters?
System.Web.Http namespace completely belongs to ASP.NET Web API framework, not ASP.NET MVC.
As for the registration point, you need to add them into GlobalFilters.Filters collection.
So after getting some pointers from #tugberk, I realize my mistake. I was basically asking for the wrong thing. What I wanted was to be able to add filters for an ASP.NET Web API service, not add them for an mvc application.
I made this error thinking they were one and the same. I guess I must have read som of what was said about moving these things together the wrong way.
In any case. I should be using the System.Web.Http namespace for my case, which means adding to the GlobalConfiguration.Configuration.Filters collection.
I found a rather nice weblog showing a basic implementation of some of what I want to accomplish. Maybe it can help somebody else.

Replacing and then stringing multiple DLLs

I'm using VB.net so keep that in mind.
I'm trying to create a program that is highly edible. Users will be able to change multiple things by just replacing the existing dlls. Kind of like a modding ability.
The new DLL shouldn't have to recreate every function though, it should only include the ones that it changes and then hook to the old dll for anything that it doesn't have. Is there a way to dynamically do this? Reference another dll (like a proxy) through yourself for anything that doesn't exist in its self?
Sorry if that is confusing. If it still confuses people, I'll draw a picture later =)
I'm Sorry, but it must be done this way. I have already set up everything in the manor and told clients (they have already started developing).
Sounds like you want to write a plugin architecture into your application, why re-invent the wheel, take a look at the Managed Extensibility Framework