Questions tagged as 'c#'

1
answer

Problems with FluentNhibernate in hosting

I developed a website in C # that is still in the testing phase, using .NetFramework 4.0 and MVC 4 I'm using Nhibernate and FluentNhibernate to map my entities. The site works perfectly on any computer that I configure IIS. But I hired...
asked by 08.09.2015 / 03:41
1
answer

Sign in to AD

Good evening guys, I need to login to AD using C #, I've heard of a class called PrincipalContext, do you know how to use it? I saw that I have to go through Domain, would not it work just like the DiretoryEntry using LDAPPath?     
asked by 04.09.2015 / 05:47
1
answer

Apply filter in DataGrid filled with List without changing DataSource

Is it possible to apply filter to a DataGridView that is "filled" with a List , without changing the DataSource of the grid? Example: When I have a grid that uses a BindingSource I can apply a filter, such as meu...
asked by 18.08.2015 / 16:15
1
answer

Catch Not Typed Control in Tip View

I need to get the elements that I'm not creating from the model, such as input with the "typeParticular" id in the page post. How can I get it in the ActionResult method since the elements are not created from the model that i...
asked by 14.08.2015 / 20:03
2
answers

Save data to a text file for later reading

I would like to know how I save some data as an example, in the case numbers, in a text file so that when I close the application the data will still be saved and when I open it I can retrieve it.     
asked by 15.08.2015 / 00:08
2
answers

Web Service Test of Posts - SSL error

Someone else has had this problem by referencing the web service for tests and implementations of the post office. I need to do some validation but I can not execute any method without ssl errors.     
asked by 14.08.2015 / 21:00
1
answer

Transfer of List from one class to another

I want to treat a list in a method from another class and then return the treated list. I would like to know how to transfer this list to the other class. I did as follows: Main class: DataTable result = new DataTable(); VerificaJuridi...
asked by 03.12.2015 / 14:36
1
answer

Wait for time to execute new action [Selenium] [C #]

I'm starting with test automation with Selenium WebDriver in the C # language . I have a question, I have to make the test wait for the page load to perform a new action. How do I do that? I think the easiest is to do it for time. Can someone...
asked by 03.12.2015 / 18:13
1
answer

What to use to create web site and android app [closed]

I want to create a website to host manga or link the sleeves of fansub. Let's say a Host Manga and create an android app to view the sleeves without having to enter the site. How can I do this? Develop the site in ASP.NET and then creat...
asked by 04.12.2015 / 11:44
1
answer

How to execute code before starting to change orientation?

I'm wondering if there is an event or way to run a piece of code before it happens to change orientation in Windows Phone. My problem is that I need to close a MenuFlyout before changing the orientation, otherwise the application crashes....
asked by 05.08.2015 / 19:17