dotnetrockz Posted June 19, 2014 Report Posted June 19, 2014 Migration .Net Framework 1.1 applications to .Net Framework 4.0 Steps Download the application from TFS that you desired to migrate. Open the Visual Studio 2010 IDE and browse to the project folder [downloaded application] and open the solution/project file[vb or cs] follow the migration wizard and continue until wizard finishes. By default the migrated project is targeted to Compile against .net framework 2.0 Build the project once and make sure there aren’t any compilation errors After successful compilation update the project to target to .net Framework 4.0 and rebuild once again Update the project properties (Target CPU : x86 and Target Framework : .Net Framework 4.0)
Best_Villain Posted June 22, 2014 Report Posted June 22, 2014 Converting .net 1.1 to 2.0 on VS 2005. It copied all the .vb files to App_Code folder and when I am compiling the whole project it is giving me various errors. Most of them I think are similar .For e.g.: I have 2 files libFunction.vb, 2.vb. I am using libFunction.vb class class in 3.vb file. Compiler Error Message: BC30560: 'LibFunction' is ambiguous in the namespace 'webProject1'. Line 12: Dim LibFunction As New webProject1.LibFunction It used to work perfectly in 1.1 but in 2.0/VS2005 it is giving me above error
Best_Villain Posted June 22, 2014 Report Posted June 22, 2014 post the errors here...mostly they will be assembly refernce errors or some components which dont work no more in 2.0/4.0 Converting .net 1.1 to 2.0 on VS 2005. It copied all the .vb files to App_Code folder and when I am compiling the whole project it is giving me various errors. Most of them I think are similar .For e.g.: I have 2 files libFunction.vb, 2.vb. I am using libFunction.vb class class in 3.vb file. Compiler Error Message: BC30560: 'LibFunction' is ambiguous in the namespace 'webProject1'. Line 12: Dim LibFunction As New webProject1.LibFunction It used to work perfectly in 1.1 but in 2.0/VS2005 it is giving me above error
Yo_Whatsup Posted June 25, 2014 Report Posted June 25, 2014 Converting .net 1.1 to 2.0 on VS 2005. It copied all the .vb files to App_Code folder and when I am compiling the whole project it is giving me various errors. Most of them I think are similar .For e.g.: I have 2 files libFunction.vb, 2.vb. I am using libFunction.vb class class in 3.vb file. Compiler Error Message: BC30560: 'LibFunction' is ambiguous in the namespace 'webProject1'. Line 12: Dim LibFunction As New webProject1.LibFunction It used to work perfectly in 1.1 but in 2.0/VS2005 it is giving me above error use the fully qualified namespace at the place where you are getting this error for ex: if you "FileDialog" keyword, then change it to System.Windows.Forms.FileDialog or the one that matches your present context and build the sol again.
karna11 Posted June 30, 2014 Author Report Posted June 30, 2014 http://www.dotnet-tricks.com/Home/MVCInterviewBook nice for beginers
karna11 Posted June 30, 2014 Author Report Posted June 30, 2014 Converting .net 1.1 to 2.0 on VS 2005. It copied all the .vb files to App_Code folder and when I am compiling the whole project it is giving me various errors. Most of them I think are similar .For e.g.: I have 2 files libFunction.vb, 2.vb. I am using libFunction.vb class class in 3.vb file. Compiler Error Message: BC30560: 'LibFunction' is ambiguous in the namespace 'webProject1'. Line 12: Dim LibFunction As New webProject1.LibFunction It used to work perfectly in 1.1 but in 2.0/VS2005 it is giving me above error u need to go u r references section of u r Project and go to add a new reference, where I browsed to Windows/Microsoft .NET/Frameworks/2.0/System.dll - When u tried adding this assembly, it 'll gives some message like gurthu ledhu but check box of click cheyyi "apply to all items" then yes ani kottu. it 'll solve i think
Mama77 Posted July 1, 2014 Report Posted July 1, 2014 we upgraded mvc3 to mvc 5 I have the following base controller public class MyController : BaseController public class BaseController : Controller{protected override void Execute(RequestContext requestContext){ base.Execute(requestContext);}} ee Execute() method fire ayithale enduku ? MVC5 lo vere changes emanna cheyala
vadapav Posted July 3, 2014 Report Posted July 3, 2014 http://www.jamesshore.com/Blog/Dependency-Injection-Demystified.html "Dependency Injection" is a 25-dollar term for a 5-cent concept. anta super simple chesi chepadu What is dependency injection? In a nutshell, dependency injection is a design pattern where external dependencies are “injected” into components rather than baked in. If that made your eyes glaze over, think about it like this: imagine your friend asked you to drive him to the supermarket: You would probably just hop in your car and take him: But what if your friend asked you to drive him and his 5 friends to the supermarket, but your car only seats 4? You would need a bigger car, right? Well, the good news is that since most cars implement the same interface (steering wheel, accelerator, brakes, etc.), you’re not only capable of driving your own car but many other cars as well. So if you had access to say, your mom’s minivan, you could complete the trip: At the root of it, that’s what dependency injection is all about. Instead of you being stuck having to always use your car for your trips, you will be given the correct car to use based on the circumstances. Bringing this back into software terminology, in the analogy above you (the driver) are a class and the car is your dependency. You depend on the car to drive your friend(s) to the supermarket. It doesn’t matter which car you use, so long as it’s familiar to you. Without dependency injection, the You class might look something like this: 1 2 3 4 5 6 7 8 9 10 11 public class You { private Car myCar = new Car(); public void Drive(IList<Person> passengers, Location destination) { foreach (var passenger in passengers) myCar.AddPassenger(passenger); myCar.Drive(destination); } } view raw gistfile1.cs hosted with ❤ by GitHub Notice how you’ll always be using that particular instance of Car to complete the trip. With dependency injection however, the You class would look something like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 public class You { private ICar myCar; public You(ICar car) { myCar = car; } public void Drive(IList<Person> passengers, Location destination) { foreach (var passenger in passengers) myCar.AddPassenger(passenger); myCar.Drive(destination); } }
chicken60five Posted July 3, 2014 Report Posted July 3, 2014 [quote name="vinuu" post="1305235181" timestamp="1398892317"] ltt[/quote Nuvvu enni nerchukuntavamma....eppudu .net aa lol
puli_keka Posted July 3, 2014 Report Posted July 3, 2014 Nissam mayya, karna and other dbians.. maa vollu Ninject use chesi savadobbings.. please guide me to some articles/materials/tutorials on Ninject and dependecy injection.. without Ninject oka chinna console app kuda create cheyatle janalu..
karna11 Posted July 7, 2014 Author Report Posted July 7, 2014 Nissam mayya, karna and other dbians.. maa vollu Ninject use chesi savadobbings.. please guide me to some articles/materials/tutorials on Ninject and dependecy injection.. without Ninject oka chinna console app kuda create cheyatle janalu.. plural site loo bagundhi, Ninject, DI gurinchi, search chesi vuntee post chesthaa inka
JollyBoy Posted July 8, 2014 Report Posted July 8, 2014 evaraina dotnet people online unnara :5_2_108:
karna11 Posted July 8, 2014 Author Report Posted July 8, 2014 evaraina dotnet people online unnara :5_2_108: cheppu mater enti?
Recommended Posts