Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I'm curious to know how other SharePoint developers setup their dev workstations.
My current setup:
Desktop with Server 2008 (only for Hyper-V, was using Vista before)
Use Visual Studio 2008 on local machine for dev work
Keep a local copy of SharePoint DLLs for referencing, no local SharePoint install
Run SharePoint in a Server 2003 VM hosted on my local machine
I develop all my SharePoint changes as a WSP and install them into the VM for testing. I don't run code in debug mode, but do write lots of trace statements to watch what my code is doing.
Also, when I'm making quick changes, I normally don't reinstall the entire WSP. I just recompile whatever DLL I changed and copy it into the GAC in my SharePoint VM, then reset IIS (normally writing Web Parts).
I know things would be easier if I ran SharePoint locally, but I'm normally working on more than one project at a time and don't want things to interfere.
Definitely prefer working in VM with SharePoint directly as I can debug into processes correctly, also I have a build script that will either redeploy my entire solution or let me just refresh the GAC.
I do all my development work on one of my VMware images. Since I try to do my SharePoint work in a TDD style I run a lot of tests and then the remote stuff just don't make sense to me.
The single item that have helped me the most is the post build event in visual studio, it is really amazing all the things you can do with a bit of scripting.
Running SharePoint/VS on the same server (either physical or virtual) will get you up and running quickly, but personally I don't think its the way to go.
In addition to what you describe (local VS/SharePoint running in VM's) then a few tips that may make your life easier.
1) Deploy to the bin directory rather than the GAC, then to update all you have to do is copy over your dll/pdb's in a post build batch file - don't think you can do that automatically if they are in the GAC on a remote machine can you?
2) Look at remote debugging - it can be a little bit of a pain to get working first but the effort is worth it! key tip is you need to use the same username/password on both the local and remote machine.
This page is related -
Debugging SharePoint 2007 Code
Related
Last Thursday I was asked to code fairly small app for an Android device and I went with React-Native. The app is now in the testing phase (it's really small) and I was asked again if we could also deploy the app on a Windows machine.
I code exclusively in Linux, but I also know about NW.js which does produce an output for both Linux, Mac and Windows regardless of the environment, so I said : "Sure! I'll see what I can do!"
But reading the react-native-windows' documentation, I'm not sure if that's possible. At least it is not clear to me.
So the question is not really "can it be done?" but rather "how can it be done?" I could request a Windows machine if I have to, but if I can avoid it I'd rather not go there because that would mean maintaining two computers where one'd be used only for that purpose, etc.
Edit : Basically, I am wondering if it is possible to generate an executable JAR archive of a React-Native project which then can be launched from any Java-supported desktop computer.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
Can we do web automation without using selenium/ QTP etc? I think "No", but just to clarify the answer with proper explanation.
For your question, yes we can automate the web application without using selenium/QTP. Nowadays, there are lot of tools available in the market which can automate the web application. Some of them are mentioned below.
Katalon Studio. Katalon Studio is a powerful automation tool set for web and mobile app testing. It is a free yet feature-packed solution that can be applied to overcome common challenges such as wait-time, pop-up and iframe in web UI test automation. Reference: https://www.katalon.com/katalon-studio/
Sahi is an automation and testing tool for web applications coming in an open-source.Sahi Open-source is written in Java and JavaScript and hosted on SourceForge since October 2005. It is released under an Apache License 2.0 Open Source License and its current version is 5.1 (published on October 5, 2016). Sahi Pro is currently in version 6.3.2 and is hosted on the Sahi Pro Website.
Reference: http://sahipro.com
Ghost Inspector is an automated UI testing and monitoring tool. It allows you to record yourself performing actions on your website within your browser, then sync them to the Ghost Inspector service and run them continuously as a regression test. Reference: https://ghostinspector.com
and there are many more. Please let me know if there are any issues.
Thanks,
Krishna
This is my first time posting a question in StackOverflow. Pls forgive me if I made any mistake.
The condition is such: I have codes inside my laptop that is under source control by a TFS (Team Foundation Server) server in the company and I have a web server which I upload the codes so that user can browse the pages. So there are 3 main items here: the TFS server, my laptop and the web server.
When I try to check in/out between my laptop and TFS server using Visual Studio, no problem.
When I try to use "Copy Web Site" feature in Visual Studio to upload my laptop's code to the web server, no problem too.
However, when I try to use "Copy Web Site" feature in Visual Studio to DOWNLOAD the web server's code into my laptop, then it will says the job is completed, but in actual fact, it has not done anything because the fact is laptop's code is under source control and it cannot overwrite it.
The only solution is I have to "check out" the local laptop's code before I can successfully DOWNLOAD from web server into my laptop. This is very troublesome and annoying if I have many files to DOWNLOAD. Is there another solution to this problem?
Another question is, is there any better way to configure the relationship of these 3 items?
Sorry for such a long question.
I cannot post any images because I don't have the "10 reputation" rights required by stackoverflow.
Thanks
The easiest answer is to use a local workspace, but unfortunately local workspaces aren't an option unless you're using both Visual Studio 2012 and TFS 2012.
The basic problem here is that when you use a server workspace, files are read-only on your file system until you explicitly check them out of source control. Local workspaces don't have that necessity.
The bigger question here is why you want to grab files from the web server. You're using source control. If people are making changes to the code directly in the web server without going through source control, that is a huge problem that should be addressed immediately.
I have fairly large legacy (read only) VSS 8 database that is currently sitting on a windows 2003 server.
As part of an infrastructure consolidation I am being asked to move it onto a new Windows 2012 server. I can't find any notes on whether or not VSS8 will run on 2012; before I even attempt this do you know of any issues running VSS on Windows 2012?
Is it easier to flip the old server to a VM and keep it for posterity and those rare occasions we want to know what someone did in the naughties?
The database itself is merely a fileshare, so you don't have to install the accelerator if you don't want to/are unable to.
In the weeks since asking have deploying VSS2005 (with the runtime available on the server) onto Windows 2012 enterprise. The applications install with a warning about versions but they run fine; including the admin tools for users and checking the consistency of the databases. The end user side all works well too.
We are having compilations problems in a TFS server and it's because the server lacks several libraries built in the default VS2012 Premium installation (Microsoft Fakes in this case).
I'm unsure of going ahead installing a full instance of VS, but first I want to know what is the best practice in this regard?
What is recommended?
Since we are talking a sandbox, do whatever and don't worry about it. If we are talking best practices, it's not a good idea to put your build tier on the app tier / data tier. Any developer could check in code that gets run on the server during the compile and trash your entire environment.
Have you looked at Visual Studio Online? It's a hosted TFS service and you can use their hosted build controller or configure your own. That makes for a very good sandbox IMO.
I don't see any issue installing VS on the TFS server(I assume you run your builds on that server too and that's when you are seeing the problem. Ideally tfs server and build box should be separate but some people use the same box.)
I have used Visual Studio on the build box several times to debug issues with builds. You just need to make sure you close the VS instance (if it has a solution open) once you are done with debugging otherwise your builds can fail when they try to clean up the project directory at the start of the build.
We run a single server TFS instance which has everything - sql, SharePoint and tfs - running on it. It is also a build server so it has to have VS 2010 and 2012 installed. We've done this with all versions since 2005 and have had no issues with it at all.