Permalink
Browse files

NServiceBus distributor sample app

  • Loading branch information...
1 parent f57c660 commit f6dc08de491a0f2675a554ae72b4dc06e58354bc @mikoskinen committed Sep 2, 2010
Showing with 27,584 additions and 11 deletions.
  1. +11 −11 .gitignore
  2. +344 −0 nservicebus-distributor-sample-app/client/Content/Site.css
  3. +153 −0 nservicebus-distributor-sample-app/client/Controllers/AccountController.cs
  4. +47 −0 nservicebus-distributor-sample-app/client/Controllers/HomeController.cs
  5. +1 −0 nservicebus-distributor-sample-app/client/Global.asax
  6. +45 −0 nservicebus-distributor-sample-app/client/Global.asax.cs
  7. +283 −0 nservicebus-distributor-sample-app/client/Models/AccountModels.cs
  8. +35 −0 nservicebus-distributor-sample-app/client/Properties/AssemblyInfo.cs
  9. +7,117 −0 nservicebus-distributor-sample-app/client/Scripts/MicrosoftAjax.debug.js
  10. +6 −0 nservicebus-distributor-sample-app/client/Scripts/MicrosoftAjax.js
  11. +408 −0 nservicebus-distributor-sample-app/client/Scripts/MicrosoftMvcAjax.debug.js
  12. +25 −0 nservicebus-distributor-sample-app/client/Scripts/MicrosoftMvcAjax.js
  13. +881 −0 nservicebus-distributor-sample-app/client/Scripts/MicrosoftMvcValidation.debug.js
  14. +55 −0 nservicebus-distributor-sample-app/client/Scripts/MicrosoftMvcValidation.js
  15. +8,061 −0 nservicebus-distributor-sample-app/client/Scripts/jquery-1.4.1-vsdoc.js
  16. +6,111 −0 nservicebus-distributor-sample-app/client/Scripts/jquery-1.4.1.js
  17. +167 −0 nservicebus-distributor-sample-app/client/Scripts/jquery-1.4.1.min.js
  18. +1,292 −0 nservicebus-distributor-sample-app/client/Scripts/jquery.validate-vsdoc.js
  19. +1,155 −0 nservicebus-distributor-sample-app/client/Scripts/jquery.validate.js
  20. +31 −0 nservicebus-distributor-sample-app/client/Scripts/jquery.validate.min.js
  21. +52 −0 nservicebus-distributor-sample-app/client/Views/Account/ChangePassword.aspx
  22. +12 −0 nservicebus-distributor-sample-app/client/Views/Account/ChangePasswordSuccess.aspx
  23. +46 −0 nservicebus-distributor-sample-app/client/Views/Account/LogOn.aspx
  24. +60 −0 nservicebus-distributor-sample-app/client/Views/Account/Register.aspx
  25. +12 −0 nservicebus-distributor-sample-app/client/Views/Home/About.aspx
  26. +10 −0 nservicebus-distributor-sample-app/client/Views/Home/Index.aspx
  27. +11 −0 nservicebus-distributor-sample-app/client/Views/Shared/Error.aspx
  28. +14 −0 nservicebus-distributor-sample-app/client/Views/Shared/LogOnUserControl.ascx
  29. +40 −0 nservicebus-distributor-sample-app/client/Views/Shared/Site.Master
  30. +39 −0 nservicebus-distributor-sample-app/client/Views/Web.config
  31. +30 −0 nservicebus-distributor-sample-app/client/Web.Debug.config
  32. +31 −0 nservicebus-distributor-sample-app/client/Web.Release.config
  33. +89 −0 nservicebus-distributor-sample-app/client/Web.config
  34. +155 −0 nservicebus-distributor-sample-app/client/client.csproj
  35. +78 −0 nservicebus-distributor-sample-app/distributor-sample.sln
  36. BIN nservicebus-distributor-sample-app/distributor-sample.suo
  37. BIN nservicebus-distributor-sample-app/distributor/Common.Logging.dll
  38. BIN nservicebus-distributor-sample-app/distributor/MsmqWorkerAvailabilityManager.dll
  39. BIN nservicebus-distributor-sample-app/distributor/NServiceBus.Core.dll
  40. BIN nservicebus-distributor-sample-app/distributor/NServiceBus.Distributor.dll
  41. +17 −0 nservicebus-distributor-sample-app/distributor/NServiceBus.Distributor.dll.config
  42. BIN nservicebus-distributor-sample-app/distributor/NServiceBus.Host.exe
  43. BIN nservicebus-distributor-sample-app/distributor/NServiceBus.Unicast.Distributor.dll
  44. BIN nservicebus-distributor-sample-app/distributor/NServiceBus.dll
  45. +36 −0 nservicebus-distributor-sample-app/distributor/Properties/AssemblyInfo.cs
  46. +84 −0 nservicebus-distributor-sample-app/distributor/distributor.csproj
  47. BIN nservicebus-distributor-sample-app/distributor/log4net.dll
  48. BIN nservicebus-distributor-sample-app/lib/NServiceBus.Core.dll
  49. BIN nservicebus-distributor-sample-app/lib/NServiceBus.Host.exe
  50. BIN nservicebus-distributor-sample-app/lib/NServiceBus.dll
  51. BIN nservicebus-distributor-sample-app/lib/log4net.dll
  52. +9 −0 nservicebus-distributor-sample-app/messages/ChangeUserEmailAddressCommand.cs
  53. +9 −0 nservicebus-distributor-sample-app/messages/CreateUserCommand.cs
  54. +36 −0 nservicebus-distributor-sample-app/messages/Properties/AssemblyInfo.cs
  55. +58 −0 nservicebus-distributor-sample-app/messages/messages.csproj
  56. +36 −0 nservicebus-distributor-sample-app/worker/App.config
  57. +16 −0 nservicebus-distributor-sample-app/worker/Handlers/ChangeUserEmailAddressCommandHandler.cs
  58. +16 −0 nservicebus-distributor-sample-app/worker/Handlers/CreateUserCommandHandler.cs
  59. +14 −0 nservicebus-distributor-sample-app/worker/MyWorker.cs
  60. +9 −0 nservicebus-distributor-sample-app/worker/NServiceBus.Host.exe.config
  61. +36 −0 nservicebus-distributor-sample-app/worker/Properties/AssemblyInfo.cs
  62. +87 −0 nservicebus-distributor-sample-app/worker/worker.csproj
  63. +36 −0 nservicebus-distributor-sample-app/worker2/App.config
  64. +16 −0 nservicebus-distributor-sample-app/worker2/Handlers/ChangeUserEmailAddressCommandHandler.cs
  65. +16 −0 nservicebus-distributor-sample-app/worker2/Handlers/CreateUserCommandHandler.cs
  66. +14 −0 nservicebus-distributor-sample-app/worker2/MyWorker.cs
  67. +9 −0 nservicebus-distributor-sample-app/worker2/NServiceBus.Host.exe.config
  68. +36 −0 nservicebus-distributor-sample-app/worker2/Properties/AssemblyInfo.cs
  69. +87 −0 nservicebus-distributor-sample-app/worker2/worker2.csproj
View
@@ -1,11 +1,11 @@
-obj
-bin
-_ReSharper.*
-*.csproj.user
-*.resharper.user
-*.ReSharper.user
-*.resharper
-*.ReSharper
-*.suo
-*.cache
-~$*
+obj
+bin
+_ReSharper.*
+*.csproj.user
+*.resharper.user
+*.ReSharper.user
+*.resharper
+*.ReSharper
+*.cache
+~$*
+*.suo
@@ -0,0 +1,344 @@
+/*----------------------------------------------------------
+The base color for this template is #5c87b2. If you'd like
+to use a different color start by replacing all instances of
+#5c87b2 with your new color.
+----------------------------------------------------------*/
+body
+{
+ background-color: #5c87b2;
+ font-size: .75em;
+ font-family: Verdana, Helvetica, Sans-Serif;
+ margin: 0;
+ padding: 0;
+ color: #696969;
+}
+
+a:link
+{
+ color: #034af3;
+ text-decoration: underline;
+}
+a:visited
+{
+ color: #505abc;
+}
+a:hover
+{
+ color: #1d60ff;
+ text-decoration: none;
+}
+a:active
+{
+ color: #12eb87;
+}
+
+p, ul
+{
+ margin-bottom: 20px;
+ line-height: 1.6em;
+}
+
+/* HEADINGS
+----------------------------------------------------------*/
+h1, h2, h3, h4, h5, h6
+{
+ font-size: 1.5em;
+ color: #000;
+ font-family: Arial, Helvetica, sans-serif;
+}
+
+h1
+{
+ font-size: 2em;
+ padding-bottom: 0;
+ margin-bottom: 0;
+}
+h2
+{
+ padding: 0 0 10px 0;
+}
+h3
+{
+ font-size: 1.2em;
+}
+h4
+{
+ font-size: 1.1em;
+}
+h5, h6
+{
+ font-size: 1em;
+}
+
+/* this rule styles <h2> tags that are the
+first child of the left and right table columns */
+.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
+{
+ margin-top: 0;
+}
+
+/* PRIMARY LAYOUT ELEMENTS
+----------------------------------------------------------*/
+
+/* you can specify a greater or lesser percentage for the
+page width. Or, you can specify an exact pixel width. */
+.page
+{
+ width: 90%;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+#header
+{
+ position: relative;
+ margin-bottom: 0px;
+ color: #000;
+ padding: 0;
+}
+
+#header h1
+{
+ font-weight: bold;
+ padding: 5px 0;
+ margin: 0;
+ color: #fff;
+ border: none;
+ line-height: 2em;
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 32px !important;
+}
+
+#main
+{
+ padding: 30px 30px 15px 30px;
+ background-color: #fff;
+ margin-bottom: 30px;
+ _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
+}
+
+#footer
+{
+ color: #999;
+ padding: 10px 0;
+ text-align: center;
+ line-height: normal;
+ margin: 0;
+ font-size: .9em;
+}
+
+/* TAB MENU
+----------------------------------------------------------*/
+ul#menu
+{
+ border-bottom: 1px #5C87B2 solid;
+ padding: 0 0 2px;
+ position: relative;
+ margin: 0;
+ text-align: right;
+}
+
+ul#menu li
+{
+ display: inline;
+ list-style: none;
+}
+
+ul#menu li#greeting
+{
+ padding: 10px 20px;
+ font-weight: bold;
+ text-decoration: none;
+ line-height: 2.8em;
+ color: #fff;
+}
+
+ul#menu li a
+{
+ padding: 10px 20px;
+ font-weight: bold;
+ text-decoration: none;
+ line-height: 2.8em;
+ background-color: #e8eef4;
+ color: #034af3;
+}
+
+ul#menu li a:hover
+{
+ background-color: #fff;
+ text-decoration: none;
+}
+
+ul#menu li a:active
+{
+ background-color: #a6e2a6;
+ text-decoration: none;
+}
+
+ul#menu li.selected a
+{
+ background-color: #fff;
+ color: #000;
+}
+
+/* FORM LAYOUT ELEMENTS
+----------------------------------------------------------*/
+
+fieldset
+{
+ margin: 1em 0;
+ padding: 1em;
+ border: 1px solid #CCC;
+}
+
+fieldset p
+{
+ margin: 2px 12px 10px 10px;
+}
+
+legend
+{
+ font-size: 1.1em;
+ font-weight: 600;
+ padding: 2px 4px 8px 4px;
+}
+
+input[type="text"]
+{
+ width: 200px;
+ border: 1px solid #CCC;
+}
+
+input[type="password"]
+{
+ width: 200px;
+ border: 1px solid #CCC;
+}
+
+/* TABLE
+----------------------------------------------------------*/
+
+table
+{
+ border: solid 1px #e8eef4;
+ border-collapse: collapse;
+}
+
+table td
+{
+ padding: 5px;
+ border: solid 1px #e8eef4;
+}
+
+table th
+{
+ padding: 6px 5px;
+ text-align: left;
+ background-color: #e8eef4;
+ border: solid 1px #e8eef4;
+}
+
+/* MISC
+----------------------------------------------------------*/
+.clear
+{
+ clear: both;
+}
+
+.error
+{
+ color:Red;
+}
+
+#menucontainer
+{
+ margin-top:40px;
+}
+
+div#title
+{
+ display:block;
+ float:left;
+ text-align:left;
+}
+
+#logindisplay
+{
+ font-size:1.1em;
+ display:block;
+ text-align:right;
+ margin:10px;
+ color:White;
+}
+
+#logindisplay a:link
+{
+ color: white;
+ text-decoration: underline;
+}
+
+#logindisplay a:visited
+{
+ color: white;
+ text-decoration: underline;
+}
+
+#logindisplay a:hover
+{
+ color: white;
+ text-decoration: none;
+}
+
+/* Styles for validation helpers
+-----------------------------------------------------------*/
+.field-validation-error
+{
+ color: #ff0000;
+}
+
+.field-validation-valid
+{
+ display: none;
+}
+
+.input-validation-error
+{
+ border: 1px solid #ff0000;
+ background-color: #ffeeee;
+}
+
+.validation-summary-errors
+{
+ font-weight: bold;
+ color: #ff0000;
+}
+
+.validation-summary-valid
+{
+ display: none;
+}
+
+/* Styles for editor and display helpers
+----------------------------------------------------------*/
+.display-label,
+.editor-label,
+.display-field,
+.editor-field
+{
+ margin: 0.5em 0;
+}
+
+.text-box
+{
+ width: 30em;
+}
+
+.text-box.multi-line
+{
+ height: 6.5em;
+}
+
+.tri-state
+{
+ width: 6em;
+}
Oops, something went wrong.

0 comments on commit f6dc08d

Please sign in to comment.