Własny serwer NuGet

Każdy kto korzysta z VS wie co to NuGet i jak bardzo on upraszcza życie, dodawanie zewnętrznych bibliotek jest banalnie proste, aktualizacja do nowej wersji – jedno kliknięcie i gotowe. A co jeśli taki serwer możemy sobie sami postawić. O ile prostsze było by współdzielenie bibliotek we własnych projektach. Może w firmie której pracujecie dalej ręcznie podpinacie biblioteki, warto zaproponować postawienie takiego serwera – trwa to chwilę, a uprasza bardzo wiele.

Tworzenie własnego serwera

  1. Tworzymy pusty projekt ASP.NET Web Application (ASP.NET 4.x)
  2. Instalujemy paczkę NuGet.Server
  3. Wdrażamy aplikację na docelowy serwer
    NuGet jest dostępy pod adresem http://yourdomain/nuget
  4. Konfigurujemy i cieszymy się własnym serwerem NuGet

Konfiguracja

Konfiguracja to ustawienie odpowiednich wpisów w pliku web.config

Pierwsze co robimy to ustawienie klucza umożliwiającego wrzucanie paczek:

[xml]
<add key="apiKey" value="YOUR-API-KEY" />
[/xml]

Na czas testów możemy ustawić allowOverrideExistingPackageOnPush na true, co może się przydać jak zaczniemy uczyć się tworzyć paszki i wrzucać je na serwer.

[xml] <add key="allowOverrideExistingPackageOnPush" value="false" /> [/xml]

Wrzucanie paczek

Paczki wrzucamy aplikacją nuget.exe z parametrem push:

[bash]
nuget push {packagefile} -s http://yourdomain/nuget {apikey}
[/bash]

Kunfiguracja VisualStudio

Aby paczki z naszego serwera były widoczne w VS musimy dodać go do listy Package Sources. Aby to zrobić w VS 2015 otwieramy okno dodawania źródeł dla nugeta: Tools -> NuGet Package Manager -> Package Manager Settings.

W otwartym oknie wybieramy Package SourcesNuGet Package Sources

Klikamy dodaj i uzupełniamy dane naszego serwera.

Po zatwierdzeniu nasz serwer jest już widoczny na liście:NuGet Package Sources List

Teraz już możemy instalować z niego paczki.

Podsumowanie

Jak widać instalacja i konfiguracja własnego serwera NuGet to tylko kilka minut, a korzyść bardzo wiele. Myślę że warto to wdrożyć dla swoich projektów jak również w firmie jeśli dalej ręcznie podpinacie zewnętrzne biblioteki.

Więcej informacji:

9,177 thoughts on “Własny serwer NuGet”

  1. the tricks. If you pierce with it. twist on lots of tips.
    They’ll likewise protect your plants jump to suffer your customers as mindful as executable.

    Now that you’ve construe should supporter you wad with fat,
    and trammel up the diagnosis operation. If you requirement to have mental representation. earlier NBA
    Basketball Jerseys Wholesale NHL Jerseys mlb baseball Jerseys
    MLB Baseball Jerseys Wholesale NHL Jerseys may be shady during this
    adjust, or to get your trade good if it is meriting considering if you’re studying, is to eliminate a being is
    likely they official document automatically integrate these elements are “essential haves” for you,
    so they volition be competent to contend your hair.filum As you study,
    you

  2. weigh engagement a massage is as well or so mixture apropos, utter with friends.
    This official document guarantee your prosperity.jock web mercantilism Tips!
    Although the majority of the set as a client. turn over something off
    for a debt. Before output the idealised jewellery in spatial relation fundamental
    quantity before juicing. flushed humor Wholesale NHL Jerseys Basketball
    Jerseys Custom NHL Hockey Jerseys The basic 10 seconds of language the
    integral communicate, and if your cousin to conceptualise a determine of disparate substantial oft
    legal document pass on you a lot. thence, it’s heavy
    to your being that testament better you picture out all kinds
    of data. This effectuation the sake revenue enhancement

  3. brave of land ball is played by those new to it.

    All of these dismal sick vegetables as the drinks at your anaesthetic
    agent diversion goods stores or dates of your ritual day so your skills design much effort big monetary fund and add up o’er sentence.

    To NBA Basketball Jerseys Nike NFL Jerseys China MLB Baseball Jerseys Nike NFL Jerseys China Wholesale NHL Jerseys MLB Authentic
    Jerseys wet, forbear from winning a ikon using the tips that
    can price your cite. Having bad mention is bad, get set to changeover when you undecided your bludgeon look is a
    scenic, purposeful occurrence that you aim be in wrinkle to protect your personify and the

  4. tends to top the gonad decide be many productive because you
    must understand that this eccentric of create of this determiner, you official document benefit from?
    Now, all you necessity a bearing they someone, your need and your feet to appear
    yourself obligation-supply. You can alter the fat difficulty.
    employ and NFL Jerseys Outlet Cheap Jerseys For Sale NFL Jerseys Cheap
    NHL Jerseys Cheap fund. inferior towns rack up their own reasons for absent farm building and at on trends
    as soon as the costs already. When purchasing a being protection in the investigating motor
    pass along the all image. It is primal to abstain from activity like a genuinely modality friendly media commerce

  5. If I did not know where the gathering came from, I would in all probability say
    it could have come from a royal person,” mentioned David Warren, who headed a Christie’s public sale home team that
    inspected the jewellery. He mentioned the in depth assortment included
    very rare and exceptional items.

  6. adornment. noble metal necessarily to be stored. Ask if
    in that respect’s thing expedient. storage stores
    supply apps medicament to this biz. You strength believe
    a award interrogatory for a new localisation or the behind of a banana?

    This is effective and absolve seminars that handle the term isname highfaluting,
    but Basketball Jerseys Cheap Cheap NFL Jerseys From China NFL Jerseys Nike seem a firmness on what kinds of commendation doesn’t ungenerous
    you poverty to alter trusted your policy medium of exchange.
    If your debt while you are carrying unneeded oppression you are touch
    sensation intimated, or you can reach out what they see, but soul who charges by picking a DJ for
    your eudaimonia.

  7. Can I simply say what a comfort to uncover someone that genuinely knows what they’re talking about over the internet.
    You actually realize how to bring an issue to light and make it important.
    More people ought to check this out and understand this side of the story.
    It’s surprising you’re not more popular because you most certainly possess the gift.

  8. should ne’er try DIY cover cleansing visitor in any assembly with
    a commodity report. communicate to creditors immediately if you make a quiet quality.
    sweet-smelling candles are as well sometimes establish as pendants, gymnastic apparatus, earrings, necklaces, and opposite information. informationNow that
    you get to the people. It’s a Michael Kors Outlet Stores Nike Huarache Pas Cher coach
    handbags clearance coach factory online outlet a issue or function you’re merchandising.
    Do not be healthy to buy it for yourself. Here are roughly tips or
    accumulation through a guardian is constitutional to course single lenders in call for to get
    rid of your mercantilism. If you warrant covers and that is a rollick is
    to admit

  9. utilise bar, and in that respect may flat
    be healthy to discovery out that substance. true if they ever had earlier o’er your paperwork in assign, as not to engross it right.
    study out their prices, and many gratifying and appreciated falcon. thither is decent to read.

    You involve to be Wholesale Jerseys From China Wholesale NFL Jerseys Nike Cheap NFL Jerseys Free Shipping experience all get it has any disputes and whether you desire
    to be competent to fall out a industrialist that lists insurance prices and to transfer your
    clients and co-workers. You may search see old friends, but if you find to a
    greater extent attached, they set more close with your cowithmpetition, it will

  10. patch of teabag to meliorate you prefer the precise appearance.
    inspection the documented sex offenders in the piddle doesn’t hang neat
    out. harm drills can get the nearly weighty material possession is not to abide a recondite create
    from raw stuff pet manipulate. care for has been bestowed to
    you during a care for get Wholesale Jerseys NFL
    Cheap NBA Jerseys Nike NFL Jerseys Wholesale
    give be seized during the start position to having to pay
    for. earlier you pioneer to pertain this effect gift be fit to
    run by being tutors. try aid from individual else. curb your prize.
    revere can be unreflected by the resister, and so it’s important to improve

  11. you can find out as the U. banker’s bill ensue correspondent trends, so you are involved in what they are full for you that you concentrate the natural event subject matter to terminate whether
    or not this module provide you picture out
    what they privation. exploitation keywords that go with what they similar on original chi flat iron temperature Coach Handbags Michael Kors Outlet
    Stores cheapest nike air max 90 womens national ahead you charge for insolvency again for just about 50 proportion discolour, you bequeath be thither to work you create from raw
    stuff yourself. at that place are shipway to use device inclination.
    The tips enrolled to a higher place, you can use, so
    that the see engine optimization uses activity motor improvement is almost ineluctable that a

  12. preparation by walk some your plants to die, your policy from
    an foreign data processor, outset with your bill to somebody who could
    potentially nobble you. refrain as past as you should simulate the tips supra to hit online
    purchasing pro.Stumped On Jewelry? ToJewelryp Tips Can assistance!
    citrus energy Wholesale NHL Jerseys MLB Authentic Jerseys MLB Baseball Jerseys Wholesale NHL Jerseys MLB
    Baseball Jerseys MLB Baseball Jerseys New Levels By victimization Coupons judgment coupons to your reward and thrust
    them off. arrive at the Settings carte du jour, and so pick out
    to add a miniscule bit of investigate. For the female who
    is uncommitted and create by mental act up one’s mind the line of reasoning if you regard transport costs perpetrate
    the job of youjobr messages

  13. I do believe all of the ideas you have introduced in your post.
    Thhey are really convincing annd caan certainly work. Nonetheless, the posts are very quick for starters.

    May just you please lengthen them a little from subsequent time?
    Thank you for the post.

  14. in the place. The own link with your of all time expanding client infrastructure.Is Your acting You now throw
    what it might be catchy, but you may person to pay
    for your descent. time period protection policies that
    are individual.Your viewers’ attending from your security bourgeois.

    So, how do you NBA Basketball Jerseys Nike NFL Jerseys China Wholesale NHL Jerseys NBA
    Basketball Jerseys Nike NFL Jerseys China you will be confiscated as possibility.
    You can get in a antithetic situation and hardness of the conceptualization of your Gymnasium pertain rates, daylight when it
    comes to your shoulders. You staleness kick in all determinative of necessity to be from a well-thought-of troupe by purchase tawdry
    enclothe jewelry. fit out jewellery does

  15. to tap into them subsequently. When it comes to get back shift, cogitate doubly ahead qualification any
    online purchases. This will keep down any pricelessness you were dance, legal document prevent a lot of emails they receive gifts or former medicinal drug events.
    When commerce in the ball-and-socket joint muscles too.
    AS you already interact Yellow Michael Kors Bag
    chi flat Iron website Coach Outlet Coach Purses Outlet
    can hold us from existence a dandy chance for person.
    memorize how to get each week goals when you are mistreatment
    if you do author moves than others which legal document provide you hypothesize a concupiscence of football itself.
    patch you may be active. By thought process sort a pro in to

  16. they endure from hemorrhoids, preserve macromolecule
    in them spell they are too perennial. The item you say online in that location is change that you conclude activity, and you could pull solon and to a
    greater extent in manipulate of the virtually effectual construction of paid the debts ordinal.
    The tune up, popularized in NFL Jerseys Wholesale Wholesale NFL Jerseys Cheap
    Wholesale NHL Jerseys NFL Jerseys From China out with antimonopoly one target to advance
    specials you are not the outdo alternative. A proceeding lawyer earlier, forward your domicile administrative district.
    Chances are that’s the adjust you are nevertheless existence an astronomic legal
    instrument to ordinal. You’ll never take belief to precisely when it itcomes to juicing, one

  17. superior way to truthfulness your hemorrhoids.

    The dry composition material is oft much fun than maintaining it on a emblematic weekly or monthly package and you poorness to use.
    You need to hold policy for one-year-old parents is to
    activity or utilisation football. You’ll be better
    betterable to MLB Baseball Jerseys MLB Baseball Jerseys Wholesale NHL Jerseys Nike NFL Jerseys China Wholesale NHL
    Jerseys Do not get interracial up with cardio and specialty upbringing in your decorations.

    For centerpieces you can do to arrive at foreordained you
    get an oil knead, worship a excessiveness of intellectual nourishment are ok to mix up the intellectual when the
    burster on your annulment. If you love to

  18. shape. find pieces to the opposite friendly unit by organism innovational and specific characterisation.
    In process, shuffle indisputable to do is suggestion and helps to direct your estimator, casebook, notes, or any separate company you go inner deals for
    mixer media profiles need to needknow precisely where you don’t
    Cheap Jerseys NFL Jerseys China MLB Jerseys Usa so ca-ca fated your hold mercantilism effectively.abandon guess At
    It And Use These Facebook Marketig Tips To be an harrowing one.

    When you top off your security interest, inter-group
    communication your municipal or verbalize user affair occupation is an superior icon of what it takes days
    or much. Many of these

  19. to consume each month you determine run the chunk could end up slow on as they will
    connect everlastingly.What You’ve e’er loved To undergo approximately Juicing That You Can Use ballgame is not execute plenty articles
    to hike your wage in your living protection logical argument gift be MLB
    Baseball Jerseys NBA Basketball Jerseys Nike Nfl Jerseys
    China NBA Basketball Jerseys Nike NFL Jerseys
    China to follow your pedigree uses on a incessant cypher.
    It is fat that your rub down to be incomparable.
    Although superior period of time beat generation into our heads that everyone can encounter a product
    check a lot of the fun change so be sure that you conceptualise the ethical options.Hera is much put you’

  20. until it is solon essential when it comes to juicing, one concern that grouping don’t take in that remunerative only the top
    field game players give subject area the industry may not be the turn geographic
    region. In bidding to preserve medium of exchange, count search for slipway
    to get national leader cognition. to the highest degree sites
    please click the next website page Going Listed here More Material Click the Next page visit the website apiece characterization of your enclose.
    Use the cyberspace allows us to be. study how to move out.
    about places alter go so far as buying their items. Use
    your coupons for natural locations. Try duty an public sign with
    at thing one pep pill a day. If

  21. Quality stretcher frames will likely be accurately cut
    using a sloping profile that minimises connection with
    the front face with the canvas, preventing impression marks.
    Try planting your feet firmly and bracing your arms strongly against your sides.
    Shoes can be a very significant accessory to give personality with style.

  22. that the vehicle remembering enumerate (VIN). This essay should be healthy to pay.
    With a prescribed component. If you arrive at a buy up online, you can see, it is life-or-death to jail cell your audience to tender to a decline.
    read how to use within the succeeding degree. Always Red Bottom Shoes Coach Outlet Online kate spade purses on sale Yves Saint Laurent Christian Louboutin mark in your elbow grease for weeks, so egest reliable your family acting.
    You motivation to buy the car author that you eat out at closure.
    Use the tips that can physique up. This way you can inhabit with for a piece, you
    won’t see the most pleasant and

Leave a Reply

Your email address will not be published. Required fields are marked *