Hello am new to entity frame work and am trying to create two chained comboboxes. am only able to read to one combo box but failing to put a where clause in my code. Bellow is the
Dim db As New SRSEntities
db.Configuration.ProxyCreationEnabled = False
cmbDistrict.DataSource = db.Districts.ToList()
cmbDistrict.DisplayMember = "DistrictName"
Catch ex As Exception
Please help how i could create a chained combo box, code samples if possible will be highly appreciated
So instead of saying "latakurekar guards that door", you have a role that says "door guard" to which you assign latakurekar. Instead of saying "Max and Eddy guard that chicken", you have a role saying "chickenguard", and assign the role to Max and me.
This has the advantage that you put the rights on the role, not the person. It might not be impressive in the example, but if you have lots of people it is crazy to manage each persons' right in detail. Instead, they get a role assigned, and access is granted based on those roles.
Created a Custom Windows Forms WebBrowser to be opened a fixed url and search bar is disabled as per requirement. When user traversing next page (clicking next button available on the web page) there are few links which are opened in new window. And they are invoking default Internet explorer with search bar option. Can I disable the page to be opened or grey out the content having such links on the basis of next page url. Or if there any option to get the link opened in same window. Please advise.
If I understand what you're wanting to do, there is no reliable way of disabling the links. You'd have to rewrite the HTML after it's download in order to do that and there's many ways of putting links into the page that your code will not be able to disable.
Thanks for response. Can I capture the event whenever url has been changed. If possible, when user navigate certain page which consists of these kind of links (open in new window), we can try to exit or grey out the custom window. Please advise.
I have a .NET (not MVC or ASP.NET) application (which is an Excel plugin), which performs 1 REST call for data (REST call is a protected resources - requires authenticated user). Currently this Excel plugin authenticates with the REST backend using basic authentication (with username/password input fields). Users are authenticated on a Windows domain.
I want to get rid of the username/password inputs and start using SAML2 to achieve true single signon for these users.from within this .NET application.
Question 1: Is it possible to perform client-side SAML2 authentication for my app?
Which framework/library to use?
If it is possible (I hope so...), I found this info:
"No is official C# client-side protocol stack", but there are various 3rd party libraries which implement SAML2", but these seem all focused on ASP.NET.
I've tried several libraries but they all seem to want to redirect the user (in browser - which I don't use in the app) to a specific endpoint.
I am no .NET guru, so if it is possible, any library with a clear example/tutorial would be really appreciated.