source-code

How can I protect/obfuscate/etc an ASP.NET MVC app's source code when deployed?

I have had good experiences recently developing with ASP.NET MVC and am considering whether or not to use it for a project coming up at work. One important consideration though: they sell source code licenses separately as a rule, and it's the kind of application we can't realistically tie to our own hosting without cutting off a large c...

MVC & .Net samples (Examples)

i want the examples or samples of the MVC & .net so please give me link ...

Java dependency

Hi All, I am looking for a small package in java that can extract all the class hierarchy and dependencies. I think I have to dig AST for this purpose but I am looking for a package that i can use for my application. ( don't want to re-invent the wheel ) Thanks ! ...

Downloadable source code repository system

Do you know if there are some free downloadable source code repository systems? I mean something like Github that i can download and install on my pc to manage only my own projects. ...

How to determine if your code is overstructured or understructured?

What are some indicators or factors in determining if your code is over-structured or under-structured? Edit Perhaps over-engineered / under-engineered would be close to synonymous for over-structured/under-structured. How do you find a balance? This post refers to any language. ...

How to organize large (> 10 KLOC) C++ source code to allow efficient search via editor?

This is not about comprehension. This is about "I want to find where this class is defined." I recently had this "insight" where each class in its own .cpp/.hpp file (Java style) each namespace is its own directory So something like Geometry::Math::Vector3 would be in Geometry/Math/Vector3.hpp and Geometry/Math/Vector3.cpp Have ...

java compiler error - unsafe operations

Hello, What does it mean? Note: Main.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Any sugestions how to avoid that kind of errors? ...

Why I can view my php source code online?

I have this weird problem. I purchased a very well-known 3rd-party php-based forum software. Uploaded to my server, run it for few weeks. This morning, when I visit my site, it display ALL the php code, including all the comments etc, like what you will see if you open it with notepad. VERY scary, my database config which is in php file ...

Looking for java source code from sun

I am pretty sure that this is a stupid question but after poking around on the sun page for about an hour I am completely confused. I want to get the source (.java NOT .class) files for this: sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream or more generally just the entire sun.net.www.protocol.https package. ...

how to fix an old coding style php script

hey there Maybe this isn't the right place to ask, but I was wondering if there is any advice on how to start fixing an old-fashioned-style php script. A few days ago I received an offer for developing an old PHP project, and by old-fashioned I mean the structure did not use OOP coding method and it doesn't have a definite framework...

SourceGuardian error : Fatal error: SourceGuardian Loader - This protected script does not support version 5.3.1 of PHP.

I am facing the below error in my website in which SourceGuardian 7.0 - ixed.5.3.lin. The code was encrypted in php5. Fatal error: SourceGuardian Loader - This protected script does not support version 5.3.1 of PHP. Please contact the script author about this problem. Error code [07] Do I need to do anything to work? ...

Easiest way to get web page source code from pages that require logins -- C#

So I play an online game that's web based and I'd like to automate certain things with it using C#. Problem is that I can't simply use WebClient.DownloadData() because I need to be logged in to actually recieve the source. The other alternative was to use the built-in web browser control but that doesn't give me access to source code. An...

Trace large C++ code base?

Problem: I have just inherited this 200K LOC source code base. There's only a small part of it I need (and I want to rip all else out). What I would like to do is to be able to: 1) run the program a few times 2) have something (here's where you come in) record which lines of code gets executed 3) then rip out all the irrelevant l...

Feedback on TOC Generation Code

Hi All I wrote a small code to generate ToC or Hierachical Bullets like one sees in a word document. Like the following set 1. 2 3 3.1 3.1.1 4 5 and so on so forth, the code is working but I am not happy with the code I have written, I would appreciate if you guys could shed some light on how I can improve my C# code. ...

private c# project hosting - plugin in visual studio

is there a project hosting for c# code and that has a simple to use visual studio plugin? does not need to be free. it does need to be private. should have a plugin or already by usable from within visual studio. something like a hosted team foundation server would be best, however i only found one and for $150 per user per month. a b...

organize source code with code on different platforms

if i have csharp code solutions in multiple platforms (winforms, asp.net mvc, asp.net, wpf, etc) but i also have lots of shared code used in more than one of the above platform, what is an ideal way to organize your code in source control. right now i have: Root -- Winforms -- WPF -- Silverlight -- Asp.netmvc -- Shared ---- Shared1 --...

Delphi - Reverse Lookup ' who includes this unit'

I am debugging a large application distributed over many units. I ran into a compilation error in a low level unit and do not have the slightest idea in which part of the application this unit is referenced. Is there a way to use RAD studio 2010's IDE to create some kind of include-graph? As most of the units used are not part of the p...

ast of c source code in xml?

i'm looking for a software which converts a c source code program to a xml-based ast representation? some sort of markup language. example: [function name="set_foo"] [parameters] [parameter name="bar" type="string" /] [/parameters] [return> ...

How to declare a javascript class with short function names and assign later to a long class name?

Let me explain, this is about displaying class source code in IDEs. I have always only one class per file. A class is declared like this in the file mod1.js: MYGLOB.MOD1.ClassXy = function () { //constructor, do somothing } MYGLOB.MOD1.ClassXy.prototype.memberfunc1 = function () { //member function 1, do somothing } (There are ma...

Does converting a source module from Unicode to ASCII or vice-versa seriously mess up the diffs?

In a test suite, I had tests that deal with unicode scattered about in various modules. I have now consolidated them into a single test class. The .cs source modules that no longer have any unicode in them, remain unicode-encoded, and as a result are 2x their required size. I'd like to convert them back to ASCII, to save the space, an...